pub async fn format_json_file(path: PathBuf) -> Result<()>
Formats a JSON file to have pretty-printed JSON.
Returns an io::Error if the file cannot be read, parsed as JSON, or written back.
io::Error