Packages

trait JsoniterCodecCompiler extends CachedSchemaCompiler[JsonCodec]

A codec compiler that produces jsoniter's JsonCodec

Linear Supertypes
CachedSchemaCompiler[JsonCodec], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsoniterCodecCompiler
  2. CachedSchemaCompiler
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type Cache
    Definition Classes
    CachedSchemaCompiler

Abstract Value Members

  1. abstract def createCache(): Cache
    Definition Classes
    CachedSchemaCompiler
  2. abstract def fromSchema[A](schema: schema.Schema[A], cache: Cache): JsonCodec[A]
    Definition Classes
    CachedSchemaCompiler
  3. abstract def fromSchema[A](schema: schema.Schema[A]): JsonCodec[A]
    Definition Classes
    CachedSchemaCompiler
  4. abstract def withExplicitDefaultsEncoding(explicitNulls: Boolean): JsoniterCodecCompiler

    Changes the behaviour of Json encoders so that optional values are encoded as explicit Json null values.

    Changes the behaviour of Json encoders so that optional values are encoded as explicit Json null values.

    Defaults to false.

  5. abstract def withFlexibleCollectionsSupport(flexibleCollectionsSupport: Boolean): JsoniterCodecCompiler

    Changes the behaviour of Json decoders so that they overlook null values in collections and maps.

    Changes the behaviour of Json decoders so that they overlook null values in collections and maps. This behaviour has a performance overhead.

    Defaults to false

  6. abstract def withHintMask(hintMask: HintMask): JsoniterCodecCompiler

    Changes the hint mask with which the decoder works.

    Changes the hint mask with which the decoder works. Depending on the hint mask, some smithy traits may be overlooked during encoding/decoding. For instance, @jsonName.

  7. abstract def withInfinitySupport(infinitySupport: Boolean): JsoniterCodecCompiler

    Changes the behaviour of Json decoders so that they can parse Infinity/NaN values.

    Changes the behaviour of Json decoders so that they can parse Infinity/NaN values. This behaviour has a performance overhead.

  8. abstract def withMapOrderPreservation(preserveMapOrder: Boolean): JsoniterCodecCompiler

    Changes the behaviour of Json decoders so that the preserve the ordering of maps.

  9. abstract def withMaxArity(max: Int): JsoniterCodecCompiler

    Changes the behaviour of the decoders so that they fail after a certain number of elements when decoding arrays and maps.

    Changes the behaviour of the decoders so that they fail after a certain number of elements when decoding arrays and maps. This allows to protect against some DDOS attacks.

    Defaults to 1024.

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def contramapSchema(fk: PolyFunction[schema.Schema, schema.Schema]): CachedSchemaCompiler[JsonCodec]
    Definition Classes
    CachedSchemaCompiler
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def mapK[F0[x] >: JsonCodec[x], G[_]](fk: PolyFunction[F0, G]): CachedSchemaCompiler[G]
    Definition Classes
    CachedSchemaCompiler
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from CachedSchemaCompiler[JsonCodec]

Inherited from AnyRef

Inherited from Any

Ungrouped