RFC 8785
An IETF standard published in 2020 that defines rules for converting any JSON object into a unique byte sequence, including sorting keys by Unicode code point, normalizing number formats, and removing extraneous whitespace. This ensures that serialization of the same JSON object produces byte-for-byte identical results across different languages and runtime environments.
Timeline (last 90 days)
The author recommends using RFC 8785 JSON Canonicalization Scheme (JCS) to define a unique canonical form, and verifying that both parties' implementations are consistent using shared test vectors.
RFC 8785 (JCS) was published by the IETF in 2020 and defines rules for converting any JSON object into a unique byte sequence, including sorting keys by Unicode code point, normalizing number formats, removing extra whitespace, and fixing string escaping.
All Facts (2)
The author recommends using RFC 8785 JSON Canonicalization Scheme (JCS) to define a unique canonical form, and verifying that both parties' implementations are consistent using shared test vectors.
50%UnverifiedRFC 8785 (JCS) was published by the IETF in 2020 and defines rules for converting any JSON object into a unique byte sequence, including sorting keys by Unicode code point, normalizing number formats, removing extra whitespace, and fixing string escaping.
50%