This package helps you discover the structure of a JSON string.
$ echo "{\"foo\": {\"bar\": 1, \"baz\": 2 } }" | treejson
.
└── foo
├── baz
└── bar
$ curl https://api.github.com/users/rtuin/orgs | treejson
. []
├── 0
│ ├── issues_url
│ ├── members_url
│ ├── description
│ ├── ...
└── ...
├── ...
├── ...
Use $ treejson --help
to see all possible arguments.
This package requires Python 2.x. Use the pip installer to install tree-json.
$ (sudo) pip install treejson
All notable changes are documented in the changelog file.
The MIT License (MIT). Please see the license file for more information.