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

type MirroredElemLabels = EmptyTuple
Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton
Inherited from:
Singleton
type MirroredType = 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
def fromProduct(p: Product): MirroredMonoType
Inherited from:
Singleton
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 def transformDown(f: Json => Json): Json
Inherited from:
Json
final def transformDownSome(pf: PartialFunction[Json, Json]): Json
Inherited from:
Json
final def transformUp(f: Json => Json): Json
Inherited from:
Json
final def transformUpSome(pf: PartialFunction[Json, Json]): 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]