json2table

A tiny cli tool to convert json to a nice table.

Using this json:

[
  {
    "name": "Jhon Doe",
    "age": 27,
    "job": "Web Developer"
  },
  {
    "name": "Charly Román",
    "age": 24,
    "job": "Software Engineer"
  }

We obtain the next table:

json2table screenshot

Usage

  • From file: json2table < jsonfile.json
  • Pipe: curl localhost:8000 | json2table