Package

com.github.plokhotnyuk.jsoniter_scala

macros

Permalink

package macros

Visibility
  1. Public
  2. All

Type Members

  1. class CodecMakerConfig extends AnyRef

    Permalink

    Configuration parameter for JsonCodecMaker.make() call.

    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))

  2. final class named extends Annotation with StaticAnnotation

    Permalink
    Annotations
    @field()
  3. final class stringified extends Annotation with StaticAnnotation

    Permalink
    Annotations
    @field()
  4. final class transient extends Annotation with StaticAnnotation

    Permalink
    Annotations
    @field()

Value Members

  1. object CodecMakerConfig extends CodecMakerConfig

    Permalink
  2. object JsonCodecMaker

    Permalink

Ungrouped