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.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.