Json2Table Siak Hooi
Use this command to install Json2Table:
winget install --id=SiakHooi.Json2Table -e A command-line client for printing JSON data as table.
winget install --id=SiakHooi.Json2Table -e A command-line client for printing JSON data as table.
print json data in tabular format
NAME:
json2table - print json data in tabular format
USAGE:
json2table [global options] [dataFile]
VERSION:
v1.1.0
GLOBAL OPTIONS:
--build print build info and exit
--spec string, -s string read spec from specFile.json, or from environment variable JSON2TABLE_SPEC or JSON2TABLE_SPEC_FILE if not provided
--columns string, -c string Comma separated list of columns to print, ignore -s and JSON2TABLE_SPEC or JSON2TABLE_SPEC_FILE if provided
--help, -h show help
--version, -v print the version
$ json2table -s ./samples/spec1.json ./samples/data1.json
$ json2table -c 'id,desc,url,display.name' ./samples/data2.json
See Installation.md for Homebrew, Linux packages, Windows winget, and manual binary installs.