JsonEncoder

zio.schema.codec.JsonCodec.JsonEncoder
object JsonEncoder

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

final def encode[A](schema: Schema[A], value: A, cfg: Configuration): Chunk[Byte]
def format(caseName: String, cfg: Configuration): String

Deprecated methods

final def encode[A](schema: Schema[A], value: A, cfg: Config): Chunk[Byte]

Attributes

Deprecated
[Since version 1.6.7] Use JsonCodec.Configuration instead.\nJsonCodec.Configuration makes it now possible to configure en-/decoding of empty collection and nulls (Options) independently.