[−][src]Function krill::commons::util::file::load_json
pub fn load_json<O: DeserializeOwned>(full_path: &PathBuf) -> Result<O, Error>
Loads a files and deserialzes as json for the expected type. Maps json errors to io::Error