class CodecMakerConfig extends AnyRef
Configuration parameter for JsonCodecMaker.make() call.
BEWARE: a parameter of the make macro should not depend on code from the same compilation module where it is called.
Use a separated submodule of the project to compile all such dependencies before their usage for generation of codecs.
Examples of fieldNameMapper, javaEnumValueNameMapper, and adtLeafClassNameMapper functions that have no
dependencies in the same compilation module are: JsonCodecMaker.enforceCamelCase, JsonCodecMaker.enforce_snake_case,
JsonCodecMaker.enforce-kebab-case, and JsonCodecMaker.simpleClassName. Or their composition like:
s => JsonCodecMaker.enforce_snake_case(JsonCodecMaker.simpleClassName(s))
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- CodecMakerConfig
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val adtLeafClassNameMapper: (String) => String
- val allowRecursiveTypes: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bigDecimalDigitsLimit: Int
- val bigDecimalPrecision: Int
- val bigDecimalScaleLimit: Int
- val bigIntDigitsLimit: Int
- val bitSetValueLimit: Int
- val circeLikeObjectEncoding: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val discriminatorFieldName: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val fieldNameMapper: PartialFunction[String, String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isStringified: Boolean
- val javaEnumValueNameMapper: PartialFunction[String, String]
- val mapAsArray: Boolean
- val mapMaxInsertNumber: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val requireCollectionFields: Boolean
- val requireDiscriminatorFirst: Boolean
- val setMaxInsertNumber: Int
- val skipNestedOptionValues: Boolean
- val skipUnexpectedFields: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val transientDefault: Boolean
- val transientEmpty: Boolean
- val transientNone: Boolean
- val useScalaEnumValueId: Boolean
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAdtLeafClassNameMapper(adtLeafClassNameMapper: (String) => String): CodecMakerConfig
- def withAllowRecursiveTypes(allowRecursiveTypes: Boolean): CodecMakerConfig
- def withBigDecimalDigitsLimit(bigDecimalDigitsLimit: Int): CodecMakerConfig
- def withBigDecimalPrecision(bigDecimalPrecision: Int): CodecMakerConfig
- def withBigDecimalScaleLimit(bigDecimalScaleLimit: Int): CodecMakerConfig
- def withBigIntDigitsLimit(bigIntDigitsLimit: Int): CodecMakerConfig
- def withBitSetValueLimit(bitSetValueLimit: Int): CodecMakerConfig
- def withCirceLikeObjectEncoding(circeLikeObjectEncoding: Boolean): CodecMakerConfig
- def withDiscriminatorFieldName(discriminatorFieldName: Option[String]): CodecMakerConfig
- def withFieldNameMapper(fieldNameMapper: PartialFunction[String, String]): CodecMakerConfig
- def withIsStringified(isStringified: Boolean): CodecMakerConfig
- def withJavaEnumValueNameMapper(javaEnumValueNameMapper: PartialFunction[String, String]): CodecMakerConfig
- def withMapAsArray(mapAsArray: Boolean): CodecMakerConfig
- def withMapMaxInsertNumber(mapMaxInsertNumber: Int): CodecMakerConfig
- def withRequireCollectionFields(requireCollectionFields: Boolean): CodecMakerConfig
- def withRequireDiscriminatorFirst(requireDiscriminatorFirst: Boolean): CodecMakerConfig
- def withSetMaxInsertNumber(setMaxInsertNumber: Int): CodecMakerConfig
- def withSkipNestedOptionValues(skipNestedOptionValues: Boolean): CodecMakerConfig
- def withSkipUnexpectedFields(skipUnexpectedFields: Boolean): CodecMakerConfig
- def withTransientDefault(transientDefault: Boolean): CodecMakerConfig
- def withTransientEmpty(transientEmpty: Boolean): CodecMakerConfig
- def withTransientNone(transientNone: Boolean): CodecMakerConfig
- def withUseScalaEnumValueId(useScalaEnumValueId: Boolean): CodecMakerConfig
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated