pub fn format_json_file(filepath: &str) -> Result<(), FormatJsonError>Expand description
Reads, formats, and overwrites the given JSON file.
Throws a FormatJsonError on invalid syntax, or failing to read/write the file.
pub fn format_json_file(filepath: &str) -> Result<(), FormatJsonError>Reads, formats, and overwrites the given JSON file.
Throws a FormatJsonError on invalid syntax, or failing to read/write the file.