RecordEncoder

class RecordEncoder[T](ctx: CaseClass[[T] =>> Encoder[T], T]) extends Encoder[T]
trait Encoder[T]
class Object
trait Matchable
class Any

Value members

Concrete methods

def encode(schema: Schema): T => Any

Inherited methods

final def contramap[U](f: U => T): Encoder[U]

Returns an [[Encoder[U]] by applying a function that maps a U to an T, before encoding as an T using this encoder.

Returns an [[Encoder[U]] by applying a function that maps a U to an T, before encoding as an T using this encoder.

Inherited from
Encoder