Function read_from_json_file

Source
pub fn read_from_json_file<T>(
    path: impl AsRef<Path>,
) -> Result<T, HumusConfigError>
where T: for<'de> Deserialize<'de>,
Expand description

Read from a JSON file at a given path.