Function from_str

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

Deserializes an instance of type T from a string of JSON text