Function ommui_file_loading::load_json [−][src]
pub fn load_json<T, P: AsRef<Path> + Debug>(path: P) -> Result<T, Error> where
T: DeserializeOwned,
Load a json data structure from a file.
pub fn load_json<T, P: AsRef<Path> + Debug>(path: P) -> Result<T, Error> where
T: DeserializeOwned,
Load a json data structure from a file.