Skip to main content

canonical

Function canonical 

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

The canonical form of a value, as text.

Two values that are equal have the same canonical form. It is returned rather than hashed so a caller can use a different digest, or none.