pub fn json_decode<T>(json_str: &str) -> Result<T, Error>where
T: DeserializeOwned,Expand description
Converts a JSON string into a deserialized Rust struct/type T.
Human-friendly utility similar to json_decode in PHP / JavaScript JSON.parse.