Skip to main content

canonical_of

Function canonical_of 

Source
pub fn canonical_of<T: Serialize>(value: &T) -> KResult<String>
Expand description

Canonical form of any serializable value. Goes through Value on purpose: struct serialization emits fields in declaration order, Value emits them sorted.