Function serde_json_wasm::de::from_str
source · [−]pub fn from_str<T>(s: &str) -> Result<T> where
T: DeserializeOwned,
Expand description
Deserializes an instance of type T from a string of JSON text
pub fn from_str<T>(s: &str) -> Result<T> where
T: DeserializeOwned,
Deserializes an instance of type T from a string of JSON text