ruma::serde::json_string

Function deserialize

Source
pub fn deserialize<'de, T, D>(
    deserializer: D,
) -> Result<T, <D as Deserializer<'de>>::Error>
where T: DeserializeOwned, D: Deserializer<'de>,
Expand description

Read a string from the input and deserialize it as a T.