Expand description
JSON Canonicalization Scheme helpers.
Object member ordering and finite floating-point formatting follow RFC
8785. Integer values represented exactly by serde_json as i64/u64
are emitted verbatim, including values outside the ES6 safe-integer range;
callers that require strict I-JSON interoperability should reject those
integers before canonicalization.
Enums§
- JcsError
- Error returned when JSON canonicalization (JCS) fails.
Constants§
- MAX_
NESTING_ DEPTH - Maximum array/object nesting depth accepted by
canonicalize_json.
Functions§
- canonicalize_
json - Canonicalize a JSON value according to RFC 8785 (JSON Canonicalization Scheme).