from_str

Function from_str 

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

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

Equivalent to serde_json::from_str but with errors extended with serde_path_to_error.

See serde_json::from_str for more documentation.