canonicalize_str

Function canonicalize_str 

Source
pub fn canonicalize_str<T>(s: &str) -> Result<String, Error>
where T: Serialize + for<'a> Deserialize<'a>,
Expand description

JSON_CANONICALIZATION_SCHEME from a &str through type T to canonicalized String.