Packages

case class JsArray(value: IndexedSeq[JsValue] = Array[JsValue]()) extends JsValue with Product with Serializable

Represent a Json array value.

Source
JsValue.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, JsValue, JsReadable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsArray
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JsValue
  7. JsReadable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsArray(value: IndexedSeq[JsValue] = Array[JsValue]())

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++(other: JsArray): JsArray

    Concatenates this array with the elements of an other array.

  4. def +:(el: JsValue): JsArray

    Prepend an element to this array.

  5. def :+(el: JsValue): JsArray

    Append an element to this array.

  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def append(el: JsValue): JsArray
  8. def as[T](implicit fjs: Reads[T]): T

    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.

    Definition Classes
    JsReadable
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def asOpt[T](implicit fjs: Reads[T]): Option[T]

    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

    returns

    Some[T] if it succeeds, None if it fails.

    Definition Classes
    JsReadable
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def prepend(el: JsValue): JsArray
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    JsValue → AnyRef → Any
  22. def transform[A <: JsValue](rds: Reads[A]): JsResult[A]

    Transforms this node into a JsResult using provided Json transformer Reads[JsValue]

    Transforms this node into a JsResult using provided Json transformer Reads[JsValue]

    Definition Classes
    JsReadable
  23. def validate[A](implicit rds: Reads[A]): JsResult[A]

    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.

    Definition Classes
    JsValueJsReadable
  24. def validateOpt[A](implicit rds: Reads[A]): JsResult[Option[A]]
    Definition Classes
    JsValue
  25. val value: IndexedSeq[JsValue]
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from JsValue

Inherited from JsReadable

Inherited from AnyRef

Inherited from Any

Ungrouped