CodecMakerConfig

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

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")
def withAdtLeafClassNameMapper(adtLeafClassNameMapper: String => String): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withAllowRecursiveTypes(allowRecursiveTypes: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withBigDecimalDigitsLimit(bigDecimalDigitsLimit: Int): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withBigDecimalPrecision(bigDecimalPrecision: Int): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withBigDecimalScaleLimit(bigDecimalScaleLimit: Int): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withBigIntDigitsLimit(bigIntDigitsLimit: Int): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withBitSetValueLimit(bitSetValueLimit: Int): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withDiscriminatorFieldName(discriminatorFieldName: Option[String]): CodecMakerConfig
Inherited from:
CodecMakerConfig
@compileTimeOnly("withFieldNameMapper should be used only inside JsonCodec.make functions")
def withFieldNameMapper(fieldNameMapper: PartialFunction[String, String]): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withIsStringified(isStringified: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig
@compileTimeOnly("withJavaEnumValueNameMapper should be used only inside JsonCodec.make functions")
def withJavaEnumValueNameMapper(javaEnumValueNameMapper: PartialFunction[String, String]): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withMapAsArray(mapAsArray: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withMapMaxInsertNumber(mapMaxInsertNumber: Int): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withRequireCollectionFields(requireCollectionFields: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withRequireDiscriminatorFirst(requireDiscriminatorFirst: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withSetMaxInsertNumber(setMaxInsertNumber: Int): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withSkipUnexpectedFields(skipUnexpectedFields: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withTransientDefault(transientDefault: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withTransientEmpty(transientEmpty: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withTransientNone(transientNone: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig
def withUseScalaEnumValueId(useScalaEnumValueId: Boolean): CodecMakerConfig
Inherited from:
CodecMakerConfig

Inherited fields

val allowRecursiveTypes: Boolean
Inherited from:
CodecMakerConfig
Inherited from:
CodecMakerConfig
Inherited from:
CodecMakerConfig
Inherited from:
CodecMakerConfig
Inherited from:
CodecMakerConfig
val discriminatorFieldName: Option[String]
Inherited from:
CodecMakerConfig
val isStringified: Boolean
Inherited from:
CodecMakerConfig
val mapAsArray: Boolean
Inherited from:
CodecMakerConfig
Inherited from:
CodecMakerConfig
Inherited from:
CodecMakerConfig
Inherited from:
CodecMakerConfig
Inherited from:
CodecMakerConfig
Inherited from:
CodecMakerConfig
val transientDefault: Boolean
Inherited from:
CodecMakerConfig
val transientEmpty: Boolean
Inherited from:
CodecMakerConfig
val transientNone: Boolean
Inherited from:
CodecMakerConfig
val useScalaEnumValueId: Boolean
Inherited from:
CodecMakerConfig

Givens

Givens

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]