Function nannou::io::load_from_json
source · pub fn load_from_json<'a, P, T>(path: P) -> Result<T, JsonFileError>
Expand description
A generic funtion for loading a type from a JSON file.
pub fn load_from_json<'a, P, T>(path: P) -> Result<T, JsonFileError>
A generic funtion for loading a type from a JSON file.