Function read_from_json5_file

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

Read from a JSON5 or JSON file at a given path.