Packages

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
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CodecMakerConfig
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val adtLeafClassNameMapper: (String) ⇒ String
  5. val allowRecursiveTypes: Boolean
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val bigDecimalDigitsLimit: Int
  8. val bigDecimalPrecision: Int
  9. val bigDecimalScaleLimit: Int
  10. val bigIntDigitsLimit: Int
  11. val bitSetValueLimit: Int
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. val discriminatorFieldName: Option[String]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. val fieldNameMapper: PartialFunction[String, String]
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val isStringified: Boolean
  21. val javaEnumValueNameMapper: PartialFunction[String, String]
  22. val mapAsArray: Boolean
  23. val mapMaxInsertNumber: Int
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. val requireCollectionFields: Boolean
  28. val requireDiscriminatorFirst: Boolean
  29. val setMaxInsertNumber: Int
  30. val skipNestedOptionValues: Boolean
  31. val skipUnexpectedFields: Boolean
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. val transientDefault: Boolean
  35. val transientEmpty: Boolean
  36. val transientNone: Boolean
  37. val useScalaEnumValueId: Boolean
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withAdtLeafClassNameMapper(adtLeafClassNameMapper: (String) ⇒ String): CodecMakerConfig
  42. def withAllowRecursiveTypes(allowRecursiveTypes: Boolean): CodecMakerConfig
  43. def withBigDecimalDigitsLimit(bigDecimalDigitsLimit: Int): CodecMakerConfig
  44. def withBigDecimalPrecision(bigDecimalPrecision: Int): CodecMakerConfig
  45. def withBigDecimalScaleLimit(bigDecimalScaleLimit: Int): CodecMakerConfig
  46. def withBigIntDigitsLimit(bigIntDigitsLimit: Int): CodecMakerConfig
  47. def withBitSetValueLimit(bitSetValueLimit: Int): CodecMakerConfig
  48. def withDiscriminatorFieldName(discriminatorFieldName: Option[String]): CodecMakerConfig
  49. def withFieldNameMapper(fieldNameMapper: PartialFunction[String, String]): CodecMakerConfig
  50. def withIsStringified(isStringified: Boolean): CodecMakerConfig
  51. def withJavaEnumValueNameMapper(javaEnumValueNameMapper: PartialFunction[String, String]): CodecMakerConfig
  52. def withMapAsArray(mapAsArray: Boolean): CodecMakerConfig
  53. def withMapMaxInsertNumber(mapMaxInsertNumber: Int): CodecMakerConfig
  54. def withRequireCollectionFields(requireCollectionFields: Boolean): CodecMakerConfig
  55. def withRequireDiscriminatorFirst(requireDiscriminatorFirst: Boolean): CodecMakerConfig
  56. def withSetMaxInsertNumber(setMaxInsertNumber: Int): CodecMakerConfig
  57. def withSkipNestedOptionValues(skipNestedOptionValues: Boolean): CodecMakerConfig
  58. def withSkipUnexpectedFields(skipUnexpectedFields: Boolean): CodecMakerConfig
  59. def withTransientDefault(transientDefault: Boolean): CodecMakerConfig
  60. def withTransientEmpty(transientEmpty: Boolean): CodecMakerConfig
  61. def withTransientNone(transientNone: Boolean): CodecMakerConfig
  62. def withUseScalaEnumValueId(useScalaEnumValueId: Boolean): CodecMakerConfig

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped