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. Protected

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. val checkFieldDuplication: Boolean
  13. val circeLikeObjectEncoding: Boolean
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  15. val decodingOnly: Boolean
  16. val discriminatorFieldName: Option[String]
  17. val encodingOnly: Boolean
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. val fieldNameMapper: PartialFunction[String, String]
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. val inlineOneValueClasses: Boolean
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val isStringified: Boolean
  26. val javaEnumValueNameMapper: PartialFunction[String, String]
  27. val mapAsArray: Boolean
  28. val mapMaxInsertNumber: Int
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  32. val requireCollectionFields: Boolean
  33. val requireDefaultFields: Boolean
  34. val requireDiscriminatorFirst: Boolean
  35. val scalaTransientSupport: Boolean
  36. val setMaxInsertNumber: Int
  37. val skipNestedOptionValues: Boolean
  38. val skipUnexpectedFields: Boolean
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. val transientDefault: Boolean
  42. val transientEmpty: Boolean
  43. val transientNone: Boolean
  44. val useScalaEnumValueId: Boolean
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. def withAdtLeafClassNameMapper(adtLeafClassNameMapper: (String) => String): CodecMakerConfig
  49. def withAllowRecursiveTypes(allowRecursiveTypes: Boolean): CodecMakerConfig
  50. def withBigDecimalDigitsLimit(bigDecimalDigitsLimit: Int): CodecMakerConfig
  51. def withBigDecimalPrecision(bigDecimalPrecision: Int): CodecMakerConfig
  52. def withBigDecimalScaleLimit(bigDecimalScaleLimit: Int): CodecMakerConfig
  53. def withBigIntDigitsLimit(bigIntDigitsLimit: Int): CodecMakerConfig
  54. def withBitSetValueLimit(bitSetValueLimit: Int): CodecMakerConfig
  55. def withCheckFieldDuplication(checkFieldDuplication: Boolean): CodecMakerConfig
  56. def withCirceLikeObjectEncoding(circeLikeObjectEncoding: Boolean): CodecMakerConfig
  57. def withDecodingOnly(decodingOnly: Boolean): CodecMakerConfig
  58. def withDiscriminatorFieldName(discriminatorFieldName: Option[String]): CodecMakerConfig
  59. def withEncodingOnly(encodingOnly: Boolean): CodecMakerConfig
  60. def withFieldNameMapper(fieldNameMapper: PartialFunction[String, String]): CodecMakerConfig
  61. def withInlineOneValueClasses(inlineOneValueClasses: Boolean): CodecMakerConfig
  62. def withIsStringified(isStringified: Boolean): CodecMakerConfig
  63. def withJavaEnumValueNameMapper(javaEnumValueNameMapper: PartialFunction[String, String]): CodecMakerConfig
  64. def withMapAsArray(mapAsArray: Boolean): CodecMakerConfig
  65. def withMapMaxInsertNumber(mapMaxInsertNumber: Int): CodecMakerConfig
  66. def withRequireCollectionFields(requireCollectionFields: Boolean): CodecMakerConfig
  67. def withRequireDefaultFields(requireDefaultFields: Boolean): CodecMakerConfig
  68. def withRequireDiscriminatorFirst(requireDiscriminatorFirst: Boolean): CodecMakerConfig
  69. def withScalaTransientSupport(scalaTransientSupport: Boolean): CodecMakerConfig
  70. def withSetMaxInsertNumber(setMaxInsertNumber: Int): CodecMakerConfig
  71. def withSkipNestedOptionValues(skipNestedOptionValues: Boolean): CodecMakerConfig
  72. def withSkipUnexpectedFields(skipUnexpectedFields: Boolean): CodecMakerConfig
  73. def withTransientDefault(transientDefault: Boolean): CodecMakerConfig
  74. def withTransientEmpty(transientEmpty: Boolean): CodecMakerConfig
  75. def withTransientNone(transientNone: Boolean): CodecMakerConfig
  76. 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

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped