- Companion:
- class
Type members
Classlikes
class PrintCodec
Use to enable printing of codec during compilation:
Use to enable printing of codec during compilation:
given CodecMakerConfig.PrintCodec with {}
val codec = JsonCodecMaker.make[MyClass]
Use to print additional debug code during derivation of codecs:
Use to print additional debug code during derivation of codecs:
given CodecMakerConfig.Trace with {}
val codec = JsonCodecMaker.make[MyClass]
Value members
Inherited methods
def copy(fieldNameMapper: NameMapper, javaEnumValueNameMapper: NameMapper, adtLeafClassNameMapper: NameMapper, discriminatorFieldName: Option[String], isStringified: Boolean, mapAsArray: Boolean, skipUnexpectedFields: Boolean, transientDefault: Boolean, transientEmpty: Boolean, transientNone: Boolean, requireCollectionFields: Boolean, bigDecimalPrecision: Int, bigDecimalScaleLimit: Int, bigDecimalDigitsLimit: Int, bigIntDigitsLimit: Int, bitSetValueLimit: Int, mapMaxInsertNumber: Int, setMaxInsertNumber: Int, allowRecursiveTypes: Boolean, requireDiscriminatorFirst: Boolean, useScalaEnumValueId: Boolean): CodecMakerConfig
- Inherited from:
- CodecMakerConfig
@compileTimeOnly("withJavaEnumValueNameMapper should be used only inside JsonCodec.make functions")
- Inherited from:
- CodecMakerConfig
@compileTimeOnly("withFieldNameMapper should be used only inside JsonCodec.make functions")
- Inherited from:
- CodecMakerConfig
@compileTimeOnly("withJavaEnumValueNameMapper should be used only inside JsonCodec.make functions")
def withJavaEnumValueNameMapper(javaEnumValueNameMapper: PartialFunction[String, String]): CodecMakerConfig
- Inherited from:
- CodecMakerConfig