/treejson

This package helps you discover the structure of a JSON string.

Primary LanguagePythonMIT LicenseMIT

treejson

This package helps you discover the structure of a JSON string.

Usage

$ 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.

Install

This package requires Python 2.x. Use the pip installer to install tree-json.

$ (sudo) pip install treejson

Changelog

All notable changes are documented in the changelog file.

Credits

License

The MIT License (MIT). Please see the license file for more information.