jsongrep is a command-line tool and Rust library for querying structured data with a JSONPath-inspired language based on regular path expressions.
It can read from files or standard input, focuses on matching paths through nested data, and is designed for fast querying of serialized documents rather than transformation pipelines.
This is free and open source software.
Key Features
- Supports JSON, JSONL/NDJSON, YAML, TOML, CBOR, and MessagePack documents.
- Auto-detects input format from file extension and also accepts an explicit format flag.
- Can print matched path locations, suppress path headers, or force them when output is piped to other tools.
- Includes fixed-string field search at any depth, case-insensitive search, and match counting options.
- Generates shell completions and man pages from the command line.
Website: github.com/micahkepe/jsongrep
Support:
Developer: Micah Kepe
License: MIT License

jsongrep is written in Rust. Learn Rust with our recommended free books and free tutorials.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

