Null

case object Null extends Json
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Json
class Object
trait Matchable
class Any
Null.type

Type members

Inherited types

The name of the type

The name of the type

Inherited from:
Mirror
Inherited from:
Singleton
Inherited from:
Singleton

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
Inherited from:
Product
override def toString(): String
Definition Classes
Json -> Any
Inherited from:
Json
final def transformDown(f: Json => Json): Json
Inherited from:
Json
Inherited from:
Json
final def transformUp(f: Json => Json): Json
Inherited from:
Json
Inherited from:
Json
final def widen: Json
Inherited from:
Json

Implicits

Implicits

implicit val decoder: JsonDecoder[Null.type]
implicit val encoder: JsonEncoder[Null.type]