LinuxCommandLibrary

jtbl

Utility to print JSON and JSON Lines data as a table in the terminal.

TLDR

Print a table from JSON or JSON Lines input

$ cat [file.json] | jtbl
copy


Print a table and specify the column width for wrapping
$ cat [file.json] | jtbl --cols=[width]
copy


Print a table and truncate rows instead of wrapping
$ cat [file.json] | jtbl -t
copy


Print a table and don't wrap or truncate rows
$ cat [file.json] | jtbl -n
copy

Copied to clipboard