Skip to main content

Module encode

Module encode 

Source
Expand description

Strict JSON encoding APIs and their budget-aware serializer internals.

Structs§

JsonEncodeError
Failure produced while encoding one JSON document.
JsonEncoder
Encodes strict JSON text while owning cumulative accounting state.
JsonSerializationError
Privacy-safe failure produced while serializing a value as strict JSON.

Enums§

JsonCollectionKind
JSON collection whose item count could not be represented.
JsonEncodeErrorKind
Represents the coarse category of a JSON encoding failure.
JsonEncodeErrorSource
An owned source extracted from a strict JSON encoding failure.
JsonIntegerSignedness
Signedness retained by an integer-range encoding failure.
JsonMapKeyKind
Serde value shape that cannot be represented as a JSON object key.
JsonSerializationErrorCategory
Stable strategy category for a strict JSON value encoding failure.
JsonSerializationErrorKind
Precise reason why a Serde value could not become strict JSON.
JsonSerializerStateError
Invalid state produced by a malformed hand-written Serde implementation.