sealed abstract class JsBoolean extends JsValue with Product with Serializable
- Alphabetic
- By Inheritance
- JsBoolean
- Serializable
- Product
- Equals
- JsValue
- JsReadable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- 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
- 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
- def canEqual(that: Any): Boolean
- Definition Classes
- JsBoolean → Equals
- def equals(that: Any): Boolean
- Definition Classes
- JsBoolean → Equals → AnyRef → Any
- def hashCode(): Int
- Definition Classes
- JsBoolean → AnyRef → Any
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- def toString(): String
- Definition Classes
- JsValue → AnyRef → Any
- 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
- 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
- JsValue → JsReadable
- def validateOpt[A](implicit rds: Reads[A]): JsResult[Option[A]]
- Definition Classes
- JsValue
- val value: Boolean