https://github.com/rtuin/treejson
This package helps you discover the structure of a JSON string.
https://github.com/rtuin/treejson
Last synced: about 1 year ago
JSON representation
This package helps you discover the structure of a JSON string.
- Host: GitHub
- URL: https://github.com/rtuin/treejson
- Owner: rtuin
- License: mit
- Created: 2016-06-16T05:57:48.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-16T06:12:42.000Z (about 10 years ago)
- Last Synced: 2024-11-16T17:44:52.541Z (over 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# treejson
This package helps you discover the structure of a JSON string.
## Usage
```bash
$ 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.
``` bash
$ (sudo) pip install treejson
```
## Changelog
All notable changes are documented in the [changelog file](CHANGELOG.md).
## Credits
- [Richard Tuin](https://github.com/rtuin)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see the [license file](LICENSE) for more information.