json-table

Transform nested JSON data into tabular format for shell

brewmacoslinux
Try with needOr install directly
Source

About

Transform nested JSON data into tabular data in the shell

Commands

json-table

Examples

Convert JSON array to table format$ echo '[{"name":"Alice","age":30},{"name":"Bob","age":25}]' | json-table
Display nested JSON data as flattened table$ cat data.json | json-table --flatten
Format JSON with custom field selection$ json-table --fields name,email users.json