org.sigilaris.core.codec.json.JsonConfig
See theJsonConfig companion class
Attributes
-
Companion
-
class
-
Source
-
JsonConfig.scala
-
Graph
-
-
Supertypes
-
trait Product
trait Mirror
class Object
trait Matchable
class Any
-
Self type
-
Members list
The names of the product elements
The names of the product elements
Attributes
-
Inherited from:
-
Mirror
-
Source
-
Mirror.scala
Default configuration aligning with project guidelines.
Default configuration aligning with project guidelines.
Defaults:
- Field names unchanged (Identity)
- Null values dropped in encoding
- Absent fields treated as null in decoding
- BigInt/BigDecimal encoded as strings
- Simple subtype names for discriminator
Attributes
-
Source
-
JsonConfig.scala
Implicit default for convenience; override in scope to customize.
Implicit default for convenience; override in scope to customize.
Attributes
-
Example
-
given JsonConfig =
JsonConfig.default.copy(fieldNaming = FieldNamingPolicy.SnakeCase)
-
Source
-
JsonConfig.scala