Object

com.github.plokhotnyuk.jsoniter_scala.macros

JsonCodecMaker

Related Doc: package macros

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val EnforcePascalCase: PartialFunction[String, String]

    Permalink

    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

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val enforce-kebab-case: PartialFunction[String, String]

    Permalink

    Mapping function for field or class names that should be in kebab-case format.

    Mapping function for field or class names that should be in kebab-case format.

    returns

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

  8. val enforceCamelCase: PartialFunction[String, String]

    Permalink

    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

  9. val enforce_snake_case: PartialFunction[String, String]

    Permalink

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

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

    returns

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

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. macro def make[A](config: CodecMakerConfig): JsonValueCodec[A]

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val partialIdentity: PartialFunction[String, String]

    Permalink

    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

  25. def simpleClassName(fullClassName: String): String

    Permalink

    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

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped