Object

play.api.libs.json

JsTrue

Related Doc: package json

Permalink

object JsTrue extends JsBoolean with Product with Serializable

Represents Json Boolean True value.

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def as[T](implicit fjs: Reads[T]): T

    Permalink

    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
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def asOpt[T](implicit fjs: Reads[T]): Option[T]

    Permalink

    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
  7. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    JsBoolean → Equals
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    JsBoolean → Equals → AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    JsBoolean → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    JsValue → AnyRef → Any
  20. def transform[A <: JsValue](rds: Reads[A]): JsResult[A]

    Permalink

    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
  21. def validate[A](implicit rds: Reads[A]): JsResult[A]

    Permalink

    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
  22. def validateOpt[A](implicit rds: Reads[A]): JsResult[Option[A]]

    Permalink
    Definition Classes
    JsValue
  23. val value: Boolean

    Permalink
    Definition Classes
    JsBoolean
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def copy(value: Boolean = this.value): JsBoolean

    Permalink
    Definition Classes
    JsBoolean
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) No longer a case class

  2. val productArity: Int

    Permalink
    Definition Classes
    JsBoolean → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) No longer a case class

  3. def productElement(n: Int): Any

    Permalink
    Definition Classes
    JsBoolean → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) No longer a case class

Inherited from JsBoolean

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