pub fn write_json_file_sync<T: Serialize>(path: &Path, data: &T) -> Result<()>
Write a JSON file (sync)