pub fn parse_json<T>(s: &str) -> Result<T, Error>where
T: DeserializeOwned,Expand description
Parses the trimmed string as JSON into a value of type T.
pub fn parse_json<T>(s: &str) -> Result<T, Error>where
T: DeserializeOwned,Parses the trimmed string as JSON into a value of type T.