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
Categories
JSONLicense
MIT LicenseFollow JSON.sh
Other Useful Business Software
Veeam Data Platform v13.1
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.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of JSON.sh!