[−][src]Function arctk::file::json::from_json
pub fn from_json<T>(path: &Path) -> Result<T, Error> where
T: Deserialize<'de>,
Deserialise the type in json format.
Errors
if file can not be opened or read string can not be serialised into an instance of the required type.