Project

jt

0.0
No commit activity in last 3 years
No release in over 3 years
tree command for json
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 10.0
~> 3.0

Runtime

 Project Readme

jt

Build Status

tree command for json.

Installation

$ gem install jt

Usage

pass json data to jt command.

curl http://jsonplaceholder.typicode.com/users/1 | jt

output

root
├──── "id": 1
├──── "name": "Leanne Graham"
├──── "username": "Bret"
├──── "email": "Sincere@april.biz"
├──── "address"
│       ├──── "street": "Kulas Light"
│       ├──── "suite": "Apt. 556"
│       ├──── "city": "Gwenborough"
│       ├──── "zipcode": "92998-3874"
│       └──── "geo"
│               ├──── "lat": "-37.3159"
│               └──── "lng": "81.1496"
├──── "phone": "1-770-736-8031 x56442"
├──── "website": "hildegard.org"
└──── "company"
        ├──── "name": "Romaguera-Crona"
        ├──── "catchPhrase": "Multi-layered client-server neural-net"
        └──── "bs": "harness real-time e-markets"

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/siman-man/jt. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.