Json
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Json.type
Members list
Value members
Concrete methods
Reads an instance of A
from a smithy4s.Blob holding a json payload.
Reads an instance of A
from a smithy4s.Blob holding a json payload.
Beware : using this method with a non-static schema (for instance, dynamically generated) may result in memory leaks.
Attributes
Parses a smithy4s.Document from a smithy4s.Blob containing a Json payload.
Parses a smithy4s.Document from a smithy4s.Blob containing a Json payload.
Attributes
Writes the json representation for an instance of A
into a smithy4s.Blob.
Writes the json representation for an instance of A
into a smithy4s.Blob.
Beware : using this method with a non-static schema (for instance, dynamically generated) may result in memory leaks.
When writing interpreters, please prefer using the payloadCodecs object.
Attributes
Writes a smithy4s.Document into a binary Blob.
Writes a smithy4s.Document into a binary Blob.
Attributes
Writes a smithy4s.Document into a pretty string with a 2-spaces indentation
Writes a smithy4s.Document into a pretty string with a 2-spaces indentation
Attributes
Writes the json representation for an instance of A
into a 2-spaces-indented string.
Writes the json representation for an instance of A
into a 2-spaces-indented string.
Beware : using this method with a non-static schema (for instance, dynamically generated) may result in memory leaks.
When writing interpreters, please prefer using the payloadCodecs object.
Attributes
Concrete fields
Default jsoniter codec compiler, which can produce instances of com.github.plokhotnyuk.jsoniter_scala.core.JsonCodec from instances of smithy4s.schema.Schema (which are generated for all smithy data types)
Default jsoniter codec compiler, which can produce instances of com.github.plokhotnyuk.jsoniter_scala.core.JsonCodec from instances of smithy4s.schema.Schema (which are generated for all smithy data types)
Attributes
Default payload codec compiler, which can produce instances of smithy4s.codec.PayloadCodec from instances of smithy4s.schema.Schema (which are generated for all smithy data types). PayloadCodecs can be used, for instance, in http-interpreters.
Default payload codec compiler, which can produce instances of smithy4s.codec.PayloadCodec from instances of smithy4s.schema.Schema (which are generated for all smithy data types). PayloadCodecs can be used, for instance, in http-interpreters.