StringEncoder

com.sksamuel.avro4s.encoders.StringEncoder
object StringEncoder extends Encoder[String]

Attributes

Graph
Supertypes
trait Encoder[String]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def encode(schema: Schema): String => Any

Attributes

Definition Classes

Inherited methods

final def contramap[U](f: U => String): 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.

Attributes

Inherited from:
Encoder