JsonCodec

object JsonCodec
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def const[A](a: A): JsonCodec[A]
def enumAdt[A, B](f: (A, B))(implicit evidence$2: UnivEq[B], encoder: Encoder[B], decoder: Decoder[B]): JsonCodec[A]
def fix[F[_]](enc: F => Json, dec: (Result, F) => ACursor)(implicit evidence$3: Traverse[F]): JsonCodec[Fix[F]]
def lazily[A](j: => JsonCodec[A]): JsonCodec[A]
def map[K, V](implicit encoderK: KeyEncoder[K], encoderV: Encoder[V], decoderK: KeyDecoder[K], decoderV: Decoder[V]): JsonCodec[Map[K, V]]
def summon[A](implicit encoder: Encoder[A], decoder: Decoder[A]): JsonCodec[A]
def xemap[A, B](w: B => A)(r: A => Result[B])(implicit encoder: Encoder[A], decoder: Decoder[A]): JsonCodec[B]
def xmap[A, B](r: A => B)(w: B => A)(implicit encoder: Encoder[A], decoder: Decoder[A]): JsonCodec[B]

Concrete fields

lazy val str: JsonCodec[String]