org.sigilaris.core.codec.json.JsonDecoder.configured
Configuration-bound decoder bundles.
Attributes
-
Source
-
JsonDecoder.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Factory for decoder bundles bound to a specific JsonConfig.
Factory for decoder bundles bound to a specific JsonConfig.
Use this to override default behavior like field naming or null handling.
val cfg = JsonConfig.default.copy(treatAbsentAsNull = false)
given JsonDecoder.configured.Decoders = JsonDecoder.configured(cfg)
Attributes
-
Source
-
JsonDecoder.scala
-
Supertypes
-
class Object
trait Matchable
class Any
Creates a decoder bundle bound to the given configuration.
Creates a decoder bundle bound to the given configuration.
Value parameters
-
config
-
the JSON configuration
Attributes
-
Returns
-
a Decoders instance providing configured given instances
-
Source
-
JsonDecoder.scala