pub fn write_json(path: &Path, value: &Value) -> Result<()>
Write value to path pretty-printed, creating parent directories.
value
path