JsObject

smile.json.JsObject
See theJsObject companion object
case class JsObject(fields: SeqMap[String, JsValue]) extends JsValue

Attributes

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

Members list

Value members

Concrete methods

def ++=(that: JsObject): JsObject

Deep merge another object into this object.

Deep merge another object into this object.

Value parameters

that

the object to merge into this object.

Attributes

Returns

the merged object.

override def apply(key: String): JsValue

Attributes

Definition Classes
def contains(key: String): Boolean

Tests whether this object contains a field.

Tests whether this object contains a field.

Attributes

override def get(key: String): Option[JsValue]

Attributes

Definition Classes
override def remove(key: String): Option[JsValue]

Attributes

Definition Classes
override def selectDynamic(key: String): JsValue

Attributes

Definition Classes
override def update(key: String, value: JsValue): JsValue

Attributes

Definition Classes
override def updateDynamic(key: String)(value: JsValue): JsValue

Attributes

Definition Classes

Inherited methods

def apply(range: Range): JsArray

Attributes

Inherited from:
JsValue
def apply(start: Int, end: Int, step: Int): JsArray

Attributes

Inherited from:
JsValue
def apply(start: Int, end: Int): JsArray

Attributes

Inherited from:
JsValue
def apply(index: Int): JsValue

Attributes

Inherited from:
JsValue
def applyDynamic(key: String)(index: Int): JsValue

Attributes

Inherited from:
JsValue

Attributes

Inherited from:
JsValue
def asDecimal: BigDecimal

Attributes

Inherited from:
JsValue

Attributes

Inherited from:
JsValue
def asInstant: Instant

Attributes

Inherited from:
JsValue
def asInt: Int

Attributes

Inherited from:
JsValue
def asLocalDate: LocalDate

Attributes

Inherited from:
JsValue
def asLocalDateTime: LocalDateTime

Attributes

Inherited from:
JsValue
def asLocalTime: LocalTime

Attributes

Inherited from:
JsValue
def asLong: Long

Attributes

Inherited from:
JsValue
def asTimestamp: Timestamp

Attributes

Inherited from:
JsValue

Attributes

Inherited from:
JsValue

Attributes

Inherited from:
JsValue

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def remove(index: Int): JsValue

Attributes

Inherited from:
JsValue
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
JsValue -> Any
Inherited from:
JsValue
def update(index: Int, value: JsValue): JsValue

Attributes

Inherited from:
JsValue
def updateDynamic(index: Int)(value: JsValue): JsValue

Attributes

Inherited from:
JsValue