Package-level declarations

Types

Link copied to clipboard

Exception class for all deserialization errors

Link copied to clipboard

Exception thrown when deserialization exceeds the maximum allowed recursion depth.

Link copied to clipboard
interface Deserializer

Deserializer is a format agnostic deserialization interface. Specific formats (e.g. JSON, XML, etc) implement this interface and handle the underlying raw decoding process and deal with details specific to that format.

Link copied to clipboard
interface FieldTrait

This tag interface provides a mechanism to attach type-specific metadata to any field. See aws.smithy.kotlin.runtime.serde.xml.XmlList for an example implementation.

Link copied to clipboard

Serializes a list.

Link copied to clipboard

Serializes a map. In Smithy, keys in maps are always Strings.

Link copied to clipboard

Common interface for deserializing primitive values

Link copied to clipboard

Used to serialize primitive values.

Link copied to clipboard
interface SdkSerializable
Link copied to clipboard

Exception class for all serialization errors

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
const val MAX_RECURSION_DEPTH: Int = 100

The maximum allowed depth of recursion when parsing data through serde. In practice, this limits the levels of nesting of objects, maps, lists, and arrays. For example, a limit of 100 allows the following: