Skip to main content

read_json_from_file

Function read_json_from_file 

Source
pub fn read_json_from_file<T>(
    config_dir: &Path,
    filename: &str,
) -> Result<T, ReadJSONFromFileError>
where T: for<'de> Deserialize<'de>,