jsongrep

rust
mit

A path query language for JSON, YAML, TOML, and other serialization formats.

672
Stars
v0.10.0
Latest release
2 weeks ago
Last activity
Very Active
Status

jsongrep (jg) is a command line query tool for fast searching and querying structured data with regular path expressions across multiple formats.

 

The main difference between jsongrep and jq is that this tool queries more than just JSON. It supports and queries inputs that are in YAML, NDJSON, TOML, JSONL, CBOR, and MessagePack from files or stdin, with count, depth, format, and path controls. It also includes fixed string search, compact output, path headers, case insensitive matching, and shell completions.

 

Another significant difference is the declarative path-matching tasks, which you can specify the exact shape of the path you want and jsongrep's engine processes it and finds them.

 

jsongrep is for those who want a fast JSON query processor and an alternative to jq to query across multiple structured formats very quickly.

Related tools

Get Updates On Terminal Trove.

No spam, just updates on Terminal Trove. See an example update.