Packages

object JsonCodecMaker

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonCodecMaker
  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 EnforcePascalCase: PartialFunction[String, String]

    Mapping function for field or class names that should be in PascalCase format.

    Mapping function for field or class names that should be in PascalCase format.

    returns

    a transformed name or the same name if no transformation is required

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. val enforce-kebab-case: PartialFunction[String, String]

    Mapping function for field or class names that should be in kebab-case format with separated non-alphabetic characters.

    Mapping function for field or class names that should be in kebab-case format with separated non-alphabetic characters.

    returns

    a transformed name or the same name if no transformation is required

  8. val enforce-kebab-case2: PartialFunction[String, String]

    Mapping function for field or class names that should be in kebab-case format with joined non-alphabetic characters.

    Mapping function for field or class names that should be in kebab-case format with joined non-alphabetic characters.

    returns

    a transformed name or the same name if no transformation is required

  9. val enforceCamelCase: PartialFunction[String, String]

    Mapping function for field or class names that should be in camelCase format.

    Mapping function for field or class names that should be in camelCase format.

    returns

    a transformed name or the same name if no transformation is required

  10. val enforce_snake_case: PartialFunction[String, String]

    Mapping function for field or class names that should be in snake_case format with separated non-alphabetic characters.

    Mapping function for field or class names that should be in snake_case format with separated non-alphabetic characters.

    returns

    a transformed name or the same name if no transformation is required

  11. val enforce_snake_case2: PartialFunction[String, String]

    Mapping function for field or class names that should be in snake_case format with joined non-alphabetic characters.

    Mapping function for field or class names that should be in snake_case format with joined non-alphabetic characters.

    returns

    a transformed name or the same name if no transformation is required

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. macro def make[A](config: CodecMakerConfig): JsonValueCodec[A]

    Derives a codec for JSON values for the specified type A and a provided derivation configuration.

    Derives a codec for JSON values for the specified type A and a provided derivation configuration.

    A

    a type that should be encoded and decoded by the derived codec

    config

    a derivation configuration

    returns

    an instance of the derived codec

  18. macro def make[A]: JsonValueCodec[A]

    Derives a codec for JSON values for the specified type A.

    Derives a codec for JSON values for the specified type A.

    A

    a type that should be encoded and decoded by the derived codec

    returns

    an instance of the derived codec

  19. macro def makeCirceLike[A]: JsonValueCodec[A]

    A replacement for the make call with the CodecMakerConfig.withTransientEmpty(false).withTransientDefault(false).withTransientNone(false).withDiscriminatorFieldName(None) configuration parameter.

    A replacement for the make call with the CodecMakerConfig.withTransientEmpty(false).withTransientDefault(false).withTransientNone(false).withDiscriminatorFieldName(None) configuration parameter.

    A

    a type that should be encoded and decoded by the derived codec

    returns

    an instance of the derived codec

  20. macro def makeCirceLikeSnakeCased[A]: JsonValueCodec[A]

    A replacement for the make call with the CodecMakerConfig.withTransientEmpty(false).withTransientDefault(false).withTransientNone(false).withDiscriminatorFieldName(None).withAdtLeafClassNameMapper(x => enforce_snake_case(simpleClassName(x))).withFieldNameMapper(enforce_snake_case).withJavaEnumValueNameMapper(enforce_snake_case) configuration parameter.

    A replacement for the make call with the CodecMakerConfig.withTransientEmpty(false).withTransientDefault(false).withTransientNone(false).withDiscriminatorFieldName(None).withAdtLeafClassNameMapper(x => enforce_snake_case(simpleClassName(x))).withFieldNameMapper(enforce_snake_case).withJavaEnumValueNameMapper(enforce_snake_case) configuration parameter.

    A

    a type that should be encoded and decoded by the derived codec

    returns

    an instance of the derived codec

  21. macro def makeWithRequiredCollectionFields[A]: JsonValueCodec[A]

    A replacement for the make call with the CodecMakerConfig.withTransientEmpty(false).withRequireCollectionFields(true) configuration parameter.

    A replacement for the make call with the CodecMakerConfig.withTransientEmpty(false).withRequireCollectionFields(true) configuration parameter.

    A

    a type that should be encoded and decoded by the derived codec

    returns

    an instance of the derived codec

  22. macro def makeWithRequiredCollectionFieldsAndNameAsDiscriminatorFieldName[A]: JsonValueCodec[A]

    A replacement for the make call with the CodecMakerConfig.withTransientEmpty(false).withRequireCollectionFields(true).withDiscriminatorFieldName(Some("name")) configuration parameter.

    A replacement for the make call with the CodecMakerConfig.withTransientEmpty(false).withRequireCollectionFields(true).withDiscriminatorFieldName(Some("name")) configuration parameter.

    A

    a type that should be encoded and decoded by the derived codec

    returns

    an instance of the derived codec

  23. macro def makeWithoutDiscriminator[A]: JsonValueCodec[A]

    A replacement for the make call with the CodecMakerConfig.withDiscriminatorFieldName(None) configuration parameter.

    A replacement for the make call with the CodecMakerConfig.withDiscriminatorFieldName(None) configuration parameter.

    A

    a type that should be encoded and decoded by the derived codec

    returns

    an instance of the derived codec

  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 partialIdentity: PartialFunction[String, String]

    A partial function that is a total in fact and always returns a string passed to it.

    A partial function that is a total in fact and always returns a string passed to it.

    returns

    a provided value

  28. def simpleClassName(fullClassName: String): String

    Mapping function for class names that should be trimmed to the simple class name without package prefix.

    Mapping function for class names that should be trimmed to the simple class name without package prefix.

    fullClassName

    the name to transform

    returns

    a transformed name or the same name if no transformation is required

  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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