Generic json value
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
Members list
Value members
Concrete methods
Access a value of this array.
Access a value of this array.
Value parameters
- index
-
Element index
Attributes
Return the property corresponding to the fieldName, supposing we have a JsObject.
Return the property corresponding to the fieldName, supposing we have a JsObject.
Value parameters
- fieldName
-
the name of the property to look up
Attributes
- Returns
-
the resulting JsValue wrapped in a JsLookup. If the current node is not a JsObject or doesn't have the property, a JsUndefined will be returned.
Look up fieldName in the current object and all descendants.
Look up fieldName in the current object and all descendants.
Attributes
- Returns
-
the list of matching nodes
Access a value of this array.
Access a value of this array.
Value parameters
- index
-
Element index.
Attributes
Access a value of this array.
Access a value of this array.
Value parameters
- fieldName
-
Element index.
Attributes
Access the head of this array.
Access the head of this array.
Attributes
Access the last element of this array.
Access the last element of this array.
Attributes
Access the tail of this array.
Access the tail of this array.
Attributes
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
-
Any
Tries to convert the node into a JsResult[T] (Success or Error). An implicit Reads[T] must be defined.
Tries to convert the node into a JsResult[T] (Success or Error). An implicit Reads[T] must be defined.
Attributes
Inherited methods
Tries to convert the node into a T, throwing an exception if it can't. An implicit Reads[T] must be defined.
Tries to convert the node into a T, throwing an exception if it can't. An implicit Reads[T] must be defined.
Attributes
- Inherited from:
- JsReadable
Tries to convert the node into a T. An implicit Reads[T] must be defined. Any error is mapped to None
Tries to convert the node into a T. An implicit Reads[T] must be defined. Any error is mapped to None
Attributes
- Returns
-
Some[T] if it succeeds, None if it fails.
- Inherited from:
- JsReadable
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Transforms this node into a JsResult using provided Json transformer Reads[JsValue]
Transforms this node into a JsResult using provided Json transformer Reads[JsValue]
Attributes
- Inherited from:
- JsReadable