[][src]Function json5::from_str

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

Deserialize an instance of type T from a string of JSON5 text. Can fail if the input is invalid JSON5, or doesn’t match the structure of the target type.