Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/libs/json/JsObject.html below:
JsObject - play.api.libs.json.JsObject
final def !=(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
final def ##(): Int
-
Definition Classes
-
AnyRef â Any
def +(otherField: (String, JsValue)): JsObject
Adds one field to the JsObject
def ++(other: JsObject): JsObject
Merge this object with another one.
Merge this object with another one. Values from other override value of the current object.
def -(otherField: String): JsObject
Removes one field from the JsObject
final def ==(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
def as[T](implicit fjs: Reads[T]): T
Tries to convert the node into a T, throwing an exception if it can't.
Tries to convert the node into a T, throwing an exception if it can't. An implicit Reads[T] must be defined.
-
Definition Classes
-
JsReadable
final def asInstanceOf[T0]: T0
def asOpt[T](implicit fjs: Reads[T]): Option[T]
Tries to convert the node into a T.
Tries to convert the node into a T. An implicit Reads[T] must be defined. Any error is mapped to None
-
returns
-
Some[T] if it succeeds, None if it fails.
-
Definition Classes
-
JsReadable
def canEqual(other: Any): Boolean
def clone(): AnyRef
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
def deepMerge(other: JsObject): JsObject
merges everything in depth and doesn't stop at first level, as ++ does
final def eq(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
def equals(other: Any): Boolean
-
Definition Classes
-
JsObject â Equals â AnyRef â Any
def fieldSet: Set[(String, JsValue)]
Return all fields as a set
lazy val fields: Seq[(String, JsValue)]
The fields of this JsObject in the order passed to to constructor
def finalize(): Unit
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( classOf[java.lang.Throwable] )
final def getClass(): Class[_]
-
Definition Classes
-
AnyRef â Any
def hashCode(): Int
-
Definition Classes
-
JsObject â AnyRef â Any
final def isInstanceOf[T0]: Boolean
def keys: Set[String]
Return all keys
final def ne(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
final def notify(): Unit
-
Definition Classes
-
AnyRef
final def notifyAll(): Unit
-
Definition Classes
-
AnyRef
final def synchronized[T0](arg0: â T0): T0
-
Definition Classes
-
AnyRef
def toString(): String
-
Definition Classes
-
JsValue â AnyRef â Any
def transform[A <: JsValue](rds: Reads[A]): JsResult[A]
Transforms this node into a JsResult using provided Json transformer Reads[JsValue]
Transforms this node into a JsResult using provided Json transformer Reads[JsValue]
-
Definition Classes
-
JsReadable
def validate[A](implicit rds: Reads[A]): JsResult[A]
Tries to convert the node into a JsResult[T] (Success or Error).
Tries to convert the node into a JsResult[T] (Success or Error). An implicit Reads[T] must be defined.
-
Definition Classes
-
JsValue â JsReadable
def validateOpt[A](implicit rds: Reads[A]): JsResult[Option[A]]
lazy val value: Map[String, JsValue]
The value of this JsObject as an immutable map.
def values: Iterable[JsValue]
Return all values
final def wait(): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long, arg1: Int): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4