jsongrep is faster than {jq, jmespath, jsonpath-rust, jql}

17 points by chandlerc


fanf

This sounds cool!

The core of the search engine is a five-stage pipeline:

  1. Parse the JSON document into a tree via serde_json_borrow (zero-copy). […]

Huh, I was expecting a SAX-style approach, maybe based on simdjson, since lexing json gives you an in-order depth-first tree traversal without allocation.

alchemmist

Thank you for this article! It is my old dream. Once, once ...

mrcruz

Impressive! I'm actually quite surprised such a technique wasn't used before.