JValue

sealed abstract
class JValue extends Serializable with Product

Represents a JSON Value which may be invalid. Internally uses mutable collections when its desirable to do so, for performance and other reasons (such as ordering and duplicate keys)

See also
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
class JArray
class JBoolean
object JFalse
object JTrue
object JNull
class JNumber
class JObject
class JString

Value members

Abstract methods

def toJsAny: Any

Converts a unsafe.JValue to a Javascript object/value that can be used within Javascript

Converts a unsafe.JValue to a Javascript object/value that can be used within Javascript

Converts a unsafe.JValue to a ast.JValue. Note that when converting unsafe.JNumber, this can throw runtime error if the underlying string representation is not a correct number. Also when converting a ast.JObject to a ast.JObject, its possible to lose data if you have duplicate keys.

Converts a unsafe.JValue to a ast.JValue. Note that when converting unsafe.JNumber, this can throw runtime error if the underlying string representation is not a correct number. Also when converting a ast.JObject to a ast.JObject, its possible to lose data if you have duplicate keys.

See also

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product