jtbl(1)

NAME
jtbl - Print JSON and JSON Lines data as a table in the terminal

SYNOPSIS

A simple cli tool to print JSON data as a table in the terminal. jtbl accepts piped JSON or JSON Lines data from stdin and outputs a text table representation to stdout.

USAGE
cat data.json | jtbl [OPTIONS]

  Options
--cols=n manually configure the terminal width -m markdown table output -n do not try to wrap if too wide for the terminal -q quiet - don't print error messages -r rotate table output -t truncate data if too wide for the terminal -v version info

  Example
$ echo '[
>     {
>         "column1": "foo",
>         "column2": 123,
>         "column3": true,
>         "column4": null
>     },
>     {
>         "column1": "bar",
>         "column2": 456,
>         "column3": false,
>         "column4": null
>     }
> ]' | jtbl
column1      column2  column3    column4
---------  ---------  ---------  ---------
foo              123  True
bar              456  False

AUTHOR
Kelly Brazil (kellyjonbrazil@gmail.com) https://github.com/kellyjonbrazil/jtbl

COPYRIGHT
Copyright (c) 2020-2022 Kelly Brazil License: MIT License