JSON.sh is a lightweight, open-source JSON parser written entirely in shell scripting. It allows developers to inspect and process JSON data without requiring a dedicated programming language runtime. The parser works with ash, Bash, dash, and Zsh. It reads JSON from standard input and converts nested objects into path-value pairs. Each path is represented as a JSON array identifying the location of its corresponding value. Users can filter results through standard Unix utilities such as grep and awk. Configurable options provide leaf-only output, empty-value removal, and compact formatting. JSON.sh is useful for command-line automation, shell scripts, and processing JSON responses from web APIs.

Features

  • Pure Shell-Based JSON Parsing
  • Ash, Bash, Dash, and Zsh Compatibility
  • Nested JSON Path and Value Extraction
  • Unix Pipeline and Standard Input Integration
  • Leaf-Only and Compact Output Modes
  • Empty Value Filtering and Formatting Options

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow JSON.sh

JSON.sh Web Site

Other Useful Business Software
Veeam Data Platform v13.1 Icon
Veeam Data Platform v13.1

Move workloads across hypervisors and clouds with no vendor lock-in. Try VDP free today.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JSON.sh!

Additional Project Details

Programming Language

Python

Related Categories

Python JSON Software

Registered

4 days ago