Function write_json_to_file

Source
pub fn write_json_to_file<T>(data: &T, config_dir: &Path, filename: &str)
where T: Serialize,