JSON / Parser fallback
JSON Trailing Comma Destination
This page has a stable URL for review, documentation, and implementation comparison. The fixture tabs show merge inputs and output; the contract tabs show JSON and compact ruleset renderings with stable IDs and deterministic ownership.
Basic .json fallbackjsonline_bound_statementsstable_pathsource_augmented_portable_writelayout_onlyjson_object_pairsdestination_trailing_comma
Fixture sources
JSON fixture: structuredmerge-fixtures/json/slice-14-fallback/trailing-comma-destination.json
Compact ruleset: structuredmerge-fixtures/rulesets/json/slice-14-fallback/trailing-comma-destination.smrules
Fixture view
{
"name": "structuredmerge",
"meta": {"mode": "template"}
}
Contract view
{
"contract_id": "json-trailing-comma-destination",
"format": "json",
"owners": "line_bound_statements",
"match": "stable_path",
"read": "source_augmented_portable_write",
"attach": "layout_only",
"render": "json_object_pairs",
"repairs": [
{
"target": "destination_trailing_comma",
"strategy": "recover"
}
],
"capabilities": {
"fallback_parse_recovery": true
}
}