adds one field from JsObject
Merge this object with an other one.
Merge this object with an other one. Values from other override value of the current object.
removes one field from JsObject
Return the property corresponding to the fieldName, supposing we have a JsObject.
Lookup for fieldName in the current object and all descendants.
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
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.
merges everything in depth and doesn't stop at first level as ++ TODO : improve because coding is nasty there
Return all keys
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.
Return all values
Represent a Json object value.