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

Inherited from AnyRef

Inherited from Any

Ungrouped