pub fn format_json_parse_error(message: &str) -> ValueExpand description
Build a JSON error body for invalid JSON parse errors.
Returns { "error": "Invalid JSON", "message": "..." }.
Internally constructs an ErrorWithMessage and serializes it.
pub fn format_json_parse_error(message: &str) -> ValueBuild a JSON error body for invalid JSON parse errors.
Returns { "error": "Invalid JSON", "message": "..." }.
Internally constructs an ErrorWithMessage and serializes it.