ExplicitEmptyCollections

zio.json.ExplicitEmptyCollections
case class ExplicitEmptyCollections(encoding: Boolean, decoding: Boolean)

When disabled for decoding, keys with empty collections will be omitted from the JSON. When disabled for encoding, missing keys will default to empty collections.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product