pub fn set_error_format_json(json: bool)
Set the error output format: true for JSON, false for text (default).
true
false