pub fn canonical_json_bytes<T: Serialize>( value: &T, ) -> Result<Vec<u8>, CanonicalError>
Serialises any Serialize value to deterministic compact JSON with lexicographically sorted object keys at every nesting depth.
Serialize