[][src]Function arctk::file::json::from_json_str

pub fn from_json_str<T>(s: &str) -> Result<T, Error> where
    T: Deserialize<'de>, 

Deserialise the type in json format.

Errors

if string can not be serialised into an instance of the required type.