pub fn write_json_file<T: Serialize>(path: &Path, value: &T) -> Result<()>
Write a pretty-printed JSON file with mode 0600 on Unix.
0600