Custom

final case class Custom[A](_compiled: ReferenceOr[Schema], _encoder: Encoder[A], _decoder: Decoder[A]) extends Schema[A]
trait Serializable
trait Product
trait Equals
trait Schema[A]
class Object
trait Matchable
class Any

Value members

Inherited methods

def asList(reference: Option[Reference], min: Option[Int], max: Option[Int]): Schema[List[A]]
Inherited from
Schema
def asSeq(reference: Option[Reference], min: Option[Int], max: Option[Int]): Schema[Seq[A]]
Inherited from
Schema
def asVector(reference: Option[Reference], min: Option[Int], max: Option[Int]): Schema[Vector[A]]
Inherited from
Schema
def at(field: String, ref: Option[Reference]): Schema[A]
Inherited from
Schema
def compiled: Schema
Inherited from
Schema
def decode(json: Json): Result[A]
Inherited from
Schema
def decoder: Decoder[A]
Inherited from
Schema
def encode(a: A): Json
Inherited from
Schema
def encoder: Encoder[A]
Inherited from
Schema
def imap[B](f: A => B)(g: B => A): Schema[B]
Inherited from
Schema
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def reference(ref: Reference): Schema[A]
Inherited from
Schema
def validate(json: Json): ValidatedNel[ValidationError, Json]
Inherited from
Schema
def validateDecode(json: Json): ValidatedNel[ValidationError, A]
Inherited from
Schema
def xmap[B](f: A => Result[B])(g: B => A): Schema[B]
Inherited from
Schema

Inherited fields

val compiled_: Eval[Schema]
Inherited from
Schema
val decoder_: Eval[Decoder[A]]
Inherited from
Schema
val encoder_: Eval[Encoder[A]]
Inherited from
Schema