ConfiguredEnumEncoder

io.circe.derivation.ConfiguredEnumEncoder
See theConfiguredEnumEncoder companion object
trait ConfiguredEnumEncoder[A] extends Encoder[A]

Attributes

Companion:
object
Source:
ConfiguredEnumEncoder.scala
Graph
Supertypes
trait Encoder[A]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def apply(a: A): Json

Convert a value to JSON.

Convert a value to JSON.

Attributes

Inherited from:
Encoder
Source:
Encoder.scala
final def contramap[B](f: B => A): 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.

Attributes

Inherited from:
Encoder
Source:
Encoder.scala
final def mapJson(f: Json => Json): Encoder[A]

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.

Attributes

Inherited from:
Encoder
Source:
Encoder.scala