Skip to main content

canonical

Function canonical 

Source
pub fn canonical(v: &Value) -> String
Expand description

Canonical JSON (sorted keys — serde_json’s Map is a BTreeMap here) for hashing.