pub fn to_canonical_vec<T: Serialize + ?Sized>(
value: &T,
) -> Result<Vec<u8>, CanonicalError>Expand description
The canonical bytes of a value: UTF-8, no whitespace, object members sorted by their names’ UTF-16 code units, strings escaped only where JSON requires it.