Skip to main content

canonical

Function canonical 

Source
pub fn canonical(value: &Value) -> Vec<u8> ⓘ
Expand description

value as canonical JSON: object keys in byte-wise order (serde_json’s map is ordered unless preserve_order is on, so keys are re-sorted here regardless), no insignificant whitespace.