write_json_file

Function write_json_file 

Source
pub fn write_json_file(path: &Path, v: &Value, dry_run: bool) -> Result<()>
Expand description

Writes a JSON value to a file with pretty-printing. Creates a backup before writing.