ObjectValue

com.sksamuel.elastic4s.json.ObjectValue
See theObjectValue companion object
case class ObjectValue(map: Map[String, JsonValue]) extends JsonValue

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JsonValue
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def putArray(name: String): ArrayValue
def putNull(name: String): ObjectValue
def putObject(name: String): ObjectValue

Adds a new object with the given name. Returns the newly created object.

Adds a new object with the given name. Returns the newly created object.

Attributes

def putValue(name: String, value: JsonValue): ObjectValue

Adds the given pairing, returning this object.

Adds the given pairing, returning this object.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product