JsArray

case
class JsArray(elements: Vector[JsValue]) extends JsValue

A JSON array.

Companion
object
trait Serializable
trait Product
trait Equals
class JsValue
class Object
trait Matchable
class Any

Value members

Deprecated constructors

@deprecated("Use JsArray(Vector[JsValue]) instead", "1.3.0")
def this(elements: List[JsValue])
Deprecated

Inherited methods

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

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

Inherited from
JsValue
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.

Inherited from
JsValue
def compactPrint: String
Inherited from
JsValue
def convertTo[T : JsonReader]: T
Inherited from
JsValue
def prettyPrint: String
Inherited from
JsValue
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def sortedPrint: String
Inherited from
JsValue
override
def toString: String
Definition Classes
JsValue -> Any
Inherited from
JsValue
def toString(printer: JsValue => String): String
Inherited from
JsValue

Deprecated and Inherited methods

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