Return the property corresponding to the fieldName, supposing we have a JsObject.
Return the property corresponding to the fieldName, supposing we have a JsObject.
the name of the property to lookup
the resulting JsValue. If the current node is not a JsObject or doesn't have the property, a JsUndefined will be returned.
Lookup for fieldName in the current object and all descendants.
Lookup for fieldName in the current object and all descendants.
the list of matching nodes
Return the element at a given index, supposing we have a JsArray.
Return the element at a given index, supposing we have a JsArray.
the index to lookup
the resulting JsValue. If the current node is not a JsArray or the index is out of bounds, a JsUndefined will be returned.
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.
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
Some[T] if it succeeds, None if it fails.
Transforms a JsValue into another JsValue using provided Json transformer Reads[JsValue]
Transforms a JsValue into another JsValue using provided Json transformer Reads[JsValue]
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.
Represent a Json boolean value.