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
99.99% Uptime for MySQL and PostgreSQL Databases Icon
99.99% Uptime for MySQL and PostgreSQL Databases

Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
Start Free
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