Forces this com.rojoma.json.v3.ast.JValue to be fully evaluated.
Forces this com.rojoma.json.v3.ast.JValue to be fully evaluated. In particular, the compound com.rojoma.json.v3.codec.JsonEncodes will produce views of their inputs instead of fully-evaluated com.rojoma.json.v3.ast.JValues. This can be problematic if the underlying structure can be mutated before this object is used, or if this object is passed to another thread.
What is or is not copied is not defined; the only postcondition is that there are no lazy values left in the returned tree.
An equal com.rojoma.json.v3.ast.JValue with strict values.
Produces a dynamically typed view of this JValue
which can be
descended using dot-notation for field names or apply-type
syntax for arrays.
Produces a dynamically typed view of this JValue
which can be
descended using dot-notation for field names or apply-type
syntax for arrays. It can be turned back into a JValue
with
the !
or ?
methods.
Note that certain field-names (the names common to all Objects
plus apply
, applyDynamic
, and selectDynamic
cannot be accessed
with simple field-notation. Instead, pass them as strings to
the apply
method.
Produces a dynamically typed view of this JValue
which can be
descended using dot-notation for field names or apply-type
syntax for arrays.
Produces a dynamically typed view of this JValue
which can be
descended using dot-notation for field names or apply-type
syntax for arrays. It can be turned back into a JValue
with
the !
or ?
methods.
Note that certain field-names (the names common to all objects
plus apply
, applyDynamic
, and selectDynamic
cannot be accessed
with simple field-notation. Instead, pass them as strings to
the apply
method.
(Since version 3.1.1) Prefer dyn
A JSON datum. This can be safely downcast to a more-specific type using the
cast
method which is implicitly added to this class in the companion object.