CirceJsonCodec

jsonrpclib.smithy4sinterop.CirceJsonCodec

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Codec extends CachedSchemaCompiler[Codec]

Attributes

Supertypes
trait CachedSchemaCompiler[Codec]
class Object
trait Matchable
class Any
Self type
Codec.type
object Decoder

Attributes

Supertypes
trait CachedSchemaCompiler[Decoder]
class Object
trait Matchable
class Any
Self type
Decoder.type
object Encoder

Attributes

Supertypes
trait CachedSchemaCompiler[Encoder]
class Object
trait Matchable
class Any
Self type
Encoder.type

Value members

Concrete methods

def fromSchema[A](implicit schema: Schema[A]): Codec[A]

Creates a Circe Codec[A] from a Smithy4s Schema[A].

Creates a Circe Codec[A] from a Smithy4s Schema[A].

This enables encoding values of type A to JSON and decoding JSON back into A, using the structure defined by the Smithy schema.

Attributes