merde_json

Function from_str

source
pub fn from_str<'s, T>(s: &'s str) -> Result<T, MerdeJsonError<'s>>
where T: Deserialize<'s>,
Expand description

Deserialize an instance of type T from a string of JSON text.