Export API-style stock records to a CSV
Hand a spreadsheet user three stock records delivered as a JSON array.
Set up the example
Convert the array and inspect the cells under sku and item. A comma inside a JSON string needs CSV quoting in the output.
Check the result
Reopen the CSV in a spreadsheet. B04 should have the single item name Pens, blue rather than an extra column.
Run this task
Use your own file or download the practice input below. The checks on this page describe the practice result.
Continue with a related task
- Convert JSON records into a Markdown table
Arrange JSON records into CSV columns → Render the columns as a Markdown table
- Normalize quoting in an inventory CSV