JSON / Array policy
JSON Destination Wins Array
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 array policyjsonline_bound_statementsstable_pathnative_read_portable_writelayout_onlyjson_object_pairsstructural_only
Fixture sources
JSON fixture: structuredmerge-fixtures/json/slice-16-array-policy/destination-wins-array.json
Compact ruleset: structuredmerge-fixtures/rulesets/json/slice-16-array-policy/destination-wins-array.smrules
Fixture view
{
"items": [1, 2, 3],
"meta": {
"tags": ["template"],
"mode": "template"
}
}
Contract view
{
"contract_id": "json-destination-wins-array",
"format": "json",
"owners": "line_bound_statements",
"match": "stable_path",
"read": "native_read_portable_write",
"attach": "layout_only",
"render": "json_object_pairs",
"capabilities": {
"structural_only": true,
"arrays_destination_wins": true
}
}