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