GenericRecordEncoder

object GenericRecordEncoder extends Encoder[GenericRecord]
trait Encoder[GenericRecord]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override
def apply(a: GenericRecord): Json
Definition Classes
Encoder

Inherited methods

final
def contramap[B](f: B => GenericRecord): Encoder[B]

Create a new Encoder by applying a function to a value of type B before encoding as an A.

Create a new Encoder by applying a function to a value of type B before encoding as an A.

Inherited from
Encoder
final
def mapJson(f: Json => Json): Encoder[GenericRecord]

Create a new Encoder by applying a function to the output of this one.

Create a new Encoder by applying a function to the output of this one.

Inherited from
Encoder