jsongrep

rust
mit

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

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.

Get Updates On Terminal Trove.

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