JsonCodec
Attributes
- Source
- JsonCodec.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JsonCodec.type
Members list
Type members
Classlikes
Attributes
- Source
- JsonCodec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Codecs.type
Configuration for the JSON codec. The configurations are overruled by the annotations that configure the same behavior.
Configuration for the JSON codec. The configurations are overruled by the annotations that configure the same behavior.
Value parameters
- discriminatorSettings
-
set up how to handle discriminators
- explicitEmptyCollections
-
whether to encode empty collections as
[]or omit the field and decode the field when it is missing as an empty collection or fail - explicitNulls
-
whether to encode empty Options as
nullor omit the field and decode the field when it is missing to None or fail - fieldNameFormat
-
format for the field names
- rejectExtraFields
-
whether to reject extra fields during decoding
- treatStreamsAsArrays
-
whether to treat streams as arrays when encoding/decoding
Attributes
- Companion
- object
- Source
- JsonCodec.scala
- Supertypes
Attributes
- Companion
- class
- Source
- JsonCodec.scala
- Supertypes
- Self type
-
Configuration.type
Attributes
- Companion
- trait
- Source
- JsonCodec.scala
- Supertypes
- Self type
-
DiscriminatorSetting.type
Attributes
- Companion
- object
- Source
- JsonCodec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
When disabled for encoding, matching fields will be omitted from the JSON. When disabled for decoding, missing fields will be decoded as the default value.
When disabled for encoding, matching fields will be omitted from the JSON. When disabled for decoding, missing fields will be decoded as the default value.
Attributes
- Source
- JsonCodec.scala
- Supertypes
Attributes
- Source
- JsonCodec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JsonDecoder.type
Attributes
- Source
- JsonCodec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JsonEncoder.type
Deprecated classlikes
Attributes
- Companion
- object
- 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
- Supertypes
Attributes
- Companion
- class
- 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
- Supertypes
- Self type
-
Config.type
Types
Attributes
- Source
- JsonCodec.scala
Value members
Concrete methods
Attributes
- Source
- JsonCodec.scala
Attributes
- Source
- JsonCodec.scala
Attributes
- Source
- JsonCodec.scala
Attributes
- Source
- JsonCodec.scala
Attributes
- Source
- JsonCodec.scala
Attributes
- Source
- JsonCodec.scala
Attributes
- Source
- JsonCodec.scala
Deprecated methods
Attributes
- Deprecated
-
[Since version 1.6.7]Use Configuration based method instead - Source
- JsonCodec.scala
Attributes
- Deprecated
-
[Since version 1.6.7]Use Configuration based method instead - Source
- JsonCodec.scala
Attributes
- Deprecated
-
[Since version 1.6.7]Use Configuration based method instead - Source
- JsonCodec.scala