How the flattening works
- Each object in the array becomes one row.
- Nested objects become dotted columns:
{"customer":{"city":"Leeds"}}→customer.city. - Arrays of plain values are joined with
;in one cell; arrays of objects get indexed columns such aslines[0].sku. - The columns are the union of all keys, in first-seen order.
If you paste a single object that contains an array (for example {"data":[…]}), the first array found is used.
Opening the CSV in Excel
Excel in many European locales expects semicolons. Pick Semicolon if all your data lands in column A. Values containing the delimiter, quotes or line breaks are quoted per RFC 4180.