Convert a value to a JSON array.
Convert a value to JSON.
Convert a value to JSON.
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
.
Create a new Encoder by applying a function to the output of this one.
Create a new ArrayEncoder by applying a function to the output of this one.
A type class that provides a conversion from a value of type
A
to a JSON array.