Flatten Nested JSON into CSV Columns

Choose whether to flatten objects into columns. An array stays in a single cell as one value.

Example and result

Enter. JSON
[{"id":"00123","p":{"name":"A"}},
 {"id":"00124","qty":10}]
Expand the results of the CSV
id,p.name,qty
00123,A,
00124,,10

Enable object flattening and check p.name and qty. The first record has an empty qty and the second has an empty p.name.

Limits

If the source already has a key named p.name, rename it before flattening to distinguish it from the generated path and avoid overwriting a field.

Tools