pub fn parse_json<T: DeserializeOwned>(value: &str) -> Result<T>
Expand description
Parses a T
from a string using serde_json::from_str
.
pub fn parse_json<T: DeserializeOwned>(value: &str) -> Result<T>
Parses a T
from a string using serde_json::from_str
.