Skip to main content

Module serde

Module serde 

Source
Expand description

Shape serialization and deserialization traits and their error type.

Modules§

error
Error types for shape serialization and deserialization.

Enums§

SerdeError
Error type for shape serialization and deserialization operations.

Constants§

MAX_CONTAINER_PREALLOC
Deserializes Smithy shapes from a serial format.

Traits§

SerializableStruct
Trait for structures that can be serialized via a schema.
ShapeDeserializer
Reads values of the Smithy data model from a serialized source, guided by a Schema.
ShapeSerializer
Serializes Smithy shapes to a target format.

Functions§

capped_container_size
Caps a raw container size at MAX_CONTAINER_PREALLOC.