Comparison
jsonpath vs jsonpath-ng vs jsonpath-rust-bindings vs objectpath
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
An XPath for JSON
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install jsonpathA final implementation of JSONPath for Python that aims to be standard compliant, including arithmetic and binary comparison operators and providing clear AST for metaprogramming.
Actively maintained. Last release 4 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
pip install jsonpath-ngLow maintenance activity. Last release 12 months ago. Weaker on commit activity and recent releases.
pip install jsonpath-rust-bindingsThe agile query language for semi-structured data. #JSON
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install objectpathIn short
- jsonpath is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- objectpath looks abandoned: avoid it for new projects.
- jsonpath-ng is the most used: 59.1M downloads a month, 99× more than jsonpath.
- jsonpath-ng also has the best Pythie’s Index (78).
- Safe default for a new project: jsonpath-ng.
Side by side
| Metric | jsonpath | jsonpath-ng | jsonpath-rust-bindings | objectpath |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 78 |