New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

json_tree

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json_tree

  • 0.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 02 Feb 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc