Skip to main content

Module encode

Module encode 

Source
Expand description

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

Structs§

JcsEncodeError
Failure produced while encoding a JSON value as RFC 8785 JCS.
JcsEncoder
Encodes serde_json::Value values using RFC 8785 canonical JSON.
JcsWorkingMemoryError
Reports when JCS rendering needs more auxiliary memory than the configured limit.
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§

JcsEncodeErrorKind
Stable category describing a failure while producing JCS output.
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.