Project

json_tree

0.0
No commit activity in last 3 years
No release in over 3 years
A simple tool for printing the structure of a JSON object
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

JSON Tree

JSON Tree will print the structure of a json object.

Usage

Can read from stdin:

$ echo '{"foo": 1, "bar": 2}' | json_tree

Outputs:

|-- bar
|-- foo

can also read from a file or uri:

$ json_tree http://example.com/some_json_doc.json

If the JSON passed to json tree is an array it pulls out the first object in the array and displays its keys.

Todo

Almost everything, this is very simple at the moment.