Sample JSON array of objects
A uniform product catalog: three objects with identical keys and deliberately mixed types. Ideal for testing converters, tables, and search - copy it or open it in the viewer.
A uniform product catalog: three objects with identical keys and deliberately mixed types. Ideal for testing converters, tables, and search - copy it or open it in the viewer.
Arrays of uniform objects are the workhorse shape of data exchange: CSV rows, database results, and API collections all reduce to this form. Uniform keys make the shape convertible; the mixed types make it interesting.
[
{
"sku": "WIDGET-001",
"name": "Blue widget",
"price": 49.99,
"inStock": true,
"tags": ["sale", "new"],
"rating": null
},
{
"sku": "WIDGET-002",
"name": "Red widget",
"price": 39.5,
"inStock": false,
"tags": [],
"rating": 4.8
},
{
"sku": "WIDGET-003",
"name": "Green widget",
"price": 59,
"inStock": true,
"tags": ["eco"],
"rating": 4.9
}
]Paste it into JSON to CSV to get a 3-row spreadsheet with detected headers.
Open it in the path finder to browse all 25 paths and copy $[2].tags[0].
Load it in the viewer to see repeated shapes collapse automatically.
Use the open-in-viewer link on this page: it loads this exact document into the block visualizer with repeated shapes pre-collapsed.
CSV and tables need one column set for all rows. Uniform keys become headers directly; ragged objects force empty cells or dropped fields.
By index from zero: $[0] is the blue widget, $[2].name is Green widget. Array indices toggle on and off in the viewer.