Overview
Reference
API
Guides
Ecosystem
Resources
Events
Blog
Search
Overview
Reference
API
Guides
Ecosystem
Resources
Events
Blog
ZIO Schema
API
zio.schema
codec
JsonCodec
JsonEncoder
JsonEncoder
zio.schema.codec.JsonCodec.JsonEncoder
object
JsonEncoder
Attributes
Source
JsonCodec.scala
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
JsonEncoder
.
type
Members list
Clear all
Value members
Concrete methods
final
def
encode
[
A
](
schema
:
Schema
[
A
],
value
:
A
,
cfg
:
Configuration
):
Chunk
[
Byte
]
Attributes
Source
JsonCodec.scala
def
format
(
caseName
:
String
,
cfg
:
Configuration
):
String
Attributes
Source
JsonCodec.scala
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.
Source
JsonCodec.scala
In this article
Attributes
Members list
Value members
Concrete methods
Deprecated methods