Function ruma::serde::try_from_json_map
source · [−]pub fn try_from_json_map(
json: Map<String, Value>
) -> Result<BTreeMap<String, CanonicalJsonValue, Global>, Error>
Expand description
Fallible conversion from a serde_json::Map
to a CanonicalJsonObject
.