JsonPureTaggedAdtEncoderWithConfig

Companion
object
trait Encoder[T]
trait Serializable
class Object
trait Matchable
class Any

Value members

Inherited methods

def apply(a: T): Json

Convert a value to JSON.

Convert a value to JSON.

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

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