Bool

final case
class Bool(value: Boolean) extends Json
Companion
object
trait Serializable
trait Product
trait Equals
class Json
class Object
trait Matchable
class Any

Value members

Inherited methods

final
def as[A](implicit decoder: JsonDecoder[A]): Either[String, A]
Inherited from
Json
final override
def equals(that: Any): Boolean
Definition Classes
Json -> Any
Inherited from
Json
final
def foldDown[A](initial: A)(f: (A, Json) => A): A
Inherited from
Json
final
def foldDownSome[A](initial: A)(pf: PartialFunction[(A, Json), A]): A
Inherited from
Json
final
def foldUp[A](initial: A)(f: (A, Json) => A): A
Inherited from
Json
final
def foldUpSome[A](initial: A)(pf: PartialFunction[(A, Json), A]): A
Inherited from
Json
final
def get[A <: Json](cursor: JsonCursor[_, A]): Either[String, A]
Inherited from
Json
final override
def hashCode: Int
Definition Classes
Json -> Any
Inherited from
Json
final
def merge(that: Json): Json
  • merging objects results in a new objects with all pairs of both sides, with the right hand side being used on key conflicts

  • merging arrays results in all of the individual elements being merged

  • scalar values will be replaced by the right hand side

Inherited from
Json
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override
def toString(): String
Definition Classes
Json -> Any
Inherited from
Json
final
Inherited from
Json
final
def transformDownSome(pf: PartialFunction[Json, Json]): Json
Inherited from
Json
final
Inherited from
Json
final
def transformUpSome(pf: PartialFunction[Json, Json]): Json
Inherited from
Json
final
def widen: Json
Inherited from
Json