sonic_rs::serde

Function from_str

Source
pub fn from_str<'a, T>(s: &'a str) -> Result<T>
where T: Deserialize<'a>,
Expand description

Deserialize an instance of type T from a string of JSON text.