Comparison
jmespath vs jsonpath vs jsonpath-ng vs jsonpath-rfc9535
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
JSON Matching Expressions
Low maintenance activity. Last release 10 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install jmespathAn 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-ngRFC 9535 - JSONPath: Query Expressions for JSON in Python
Actively maintained. Last release 9 days ago, commits in 7 of the last 26 weeks. A safe choice.
pip install jsonpath-rfc9535In short
- jsonpath is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- jmespath is the most used: 631.2M downloads a month, 11× more than jsonpath-ng.
- jsonpath-ng is better maintained: Pythie’s Index 78 against 35.
- jsonpath-rfc9535 is growing fastest: downloads +28% over the last month.
Side by side
| Metric | jmespath | jsonpath | jsonpath-ng | jsonpath-rfc9535 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 35 | 27 |