JsValue

sealed abstract
class JsValue

The general type of a JSON AST node.

class Object
trait Matchable
class Any
class JsArray
class JsBoolean
object JsFalse
object JsTrue
object JsNull
class JsNumber
class JsObject
class JsString

Value members

Concrete methods

def asJsObject(errorMsg: String): JsObject

Returns this if this JsValue is a JsObject, otherwise throws a DeserializationException with the given error msg.

Returns this if this JsValue is a JsObject, otherwise throws a DeserializationException with the given error msg.

Returns this if this JsValue is a JsObject, otherwise throws a DeserializationException.

Returns this if this JsValue is a JsObject, otherwise throws a DeserializationException.

def compactPrint: String
def convertTo[T : JsonReader]: T
def prettyPrint: String
def sortedPrint: String
override
def toString: String
Definition Classes
Any
def toString(printer: JsValue => String): String

Deprecated methods

@deprecated("Superceded by \'convertTo\'", "1.1.0")
def fromJson[T : JsonReader]: T
Deprecated