JsonPayloadCodecCompiler

smithy4s.json.JsonPayloadCodecCompiler
trait JsonPayloadCodecCompiler extends CachedSchemaCompiler[PayloadCodec]

Attributes

Graph
Supertypes
trait CachedSchemaCompiler[PayloadCodec]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Cache

Attributes

Inherited from:
CachedSchemaCompiler

Value members

Abstract methods

Changes the jsoniter codec compiler that backs this compiler. This can be used to tweak the behaviour of Json encoding and decoding alike.

Changes the jsoniter codec compiler that backs this compiler. This can be used to tweak the behaviour of Json encoding and decoding alike.

Attributes

def withJsoniterReaderConfig(jsoniterReaderConfig: ReaderConfig): JsonPayloadCodecCompiler

Changes the jsoniter reader config that is used when parsing json payloads into data.

Changes the jsoniter reader config that is used when parsing json payloads into data.

Attributes

def withJsoniterWriterConfig(jsoniterWriterConfig: WriterConfig): JsonPayloadCodecCompiler

Changes the jsoniter writer config that is used when writing data into json.

Changes the jsoniter writer config that is used when writing data into json.

Attributes

Inherited methods

final def contramapSchema(fk: PolyFunction[Schema, Schema]): CachedSchemaCompiler[F]

Attributes

Inherited from:
CachedSchemaCompiler
def createCache(): Cache

Attributes

Inherited from:
CachedSchemaCompiler
def fromSchema[A](schema: Schema[A], cache: Cache): F[A]

Attributes

Inherited from:
CachedSchemaCompiler
def fromSchema[A](schema: Schema[A]): F[A]

Attributes

Inherited from:
CachedSchemaCompiler
final def mapK[F0[x], G[_]](fk: PolyFunction[F0, G]): CachedSchemaCompiler[G]

Attributes

Inherited from:
CachedSchemaCompiler