RFC 8785 JSON Canonicalization Scheme.
Produces the unique canonical byte string for a JSON value so that a signature computed over the output verifies across independent implementations. Correctness of two subtle areas — object member ordering by UTF-16 code unit and ECMAScript-conformant number serialization — is what makes that cross-stack guarantee hold; both are implemented to the RFC and covered by conformance tests.