normalize_json_trailing_commas

Function normalize_json_trailing_commas 

Source
fn normalize_json_trailing_commas(input: &str) -> String
Expand description

Removes trailing commas that appear immediately before } or ] in JSON text.

This allows the embedded backup JSON file to remain slightly permissive while still being parsed by serde_json.