ruma::serde

Function from_raw_json_value

Source
pub fn from_raw_json_value<'a, T, E>(val: &'a RawValue) -> Result<T, E>
where T: Deserialize<'a>, E: Error,
Expand description

Helper function for serde_json::value::RawValue deserialization.