JSON → Table
Readable ASCII table from a JSON array
Format TextHow it works
1. json-to-csv Convert JSON array of objects to CSV 2. csv-to-table Render CSV/TSV as aligned ASCII table
$ json-to-csv | csv-to-table Examples
Convert a JSON API response to a readable table for a report
Usage
"[{"name":"Alice","age":30,"city":"NYC"},{"name":"Bob","age":..." | json-to-csv | csv-to-table Format product inventory JSON as a table for a Slack message
Usage
"[{"product":"Widget","price":9.99,"stock":150},{"product":"G..." | json-to-csv | csv-to-table Display student grades JSON as a formatted table
Usage
"[{"student":"Emma","grade":"A","subject":"Math"},{"student":..." | json-to-csv | csv-to-table