ruma_common::serde::json_string

Function deserialize

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

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