from_str

Function from_str 

Source
pub fn from_str<T: DeserializeOwned>(json: &str) -> Result<T, Error>
Expand description

Parse JSON from a string slice.

ยงErrors

Returns an error if parsing fails.