Decision Workspace
mlua-json vs jsonpath_lib vs jsonpath_lib2
Side-by-side comparison of Rust crates
50
mlua-json
growingv1.0.1
A Rust-native implementation of LuaRocks openresty/lua-cjson or grafi/lunajson for mlua.
50
jsonpath_lib
growingv0.3.0
It is JsonPath engine written in Rust. it provide a similar API interface in Webassembly and Javascript too. - Webassembly Demo: https://freestrings.github.io/jsonpath
47
jsonpath_lib2
growingv0.3.3
An updated fork of jsonpath_lib. The original crate has not been updated since 2021 Jun 03. It is JsonPath engine written in Rust. It provide a similar API interface in Webassembly and Javascript too. - Webassembly Demo: https://freestrings.github.io/jsonpath Feel free to transfer maintenance for this crate if I don't respond for one year. I consent to the transfer of this crate to the first person who asks help@crates.io for it.
Core Metrics
| mlua-json | jsonpath_lib | jsonpath_lib2 | |
|---|---|---|---|
| Health Score | 50 | 50 | 47 |
| Total Downloads | 11.6K | 12.7M | 3.5K |
| 30d Downloads | 366 | 420.9K | 209 |
| Dependents | 5 | 825 | 15 |
| Releases | 4 | 21 | 3 |
| Last Updated | 239d ago | 1758d ago | 454d ago |
| Age | 1y 7m | 7y | 1y 2m |
Health Breakdown
mlua-json
Maintenance
8
Quality
21
Community
6
Popularity
5
Documentation
10
jsonpath_lib
Maintenance
4
Quality
13
Community
14
Popularity
8
Documentation
11
jsonpath_lib2
Maintenance
6
Quality
15
Community
9
Popularity
4
Documentation
13
Technical Details
| mlua-json | jsonpath_lib | jsonpath_lib2 | |
|---|---|---|---|
| Version | 1.0.1 | 0.3.0 | 0.3.3 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 4 | 4 |
| Crate Size | 229KB | 284KB | 301KB |
| Features | 6 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | — | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mlua-json leads with a health score of 50/100, but none of the options score above 80.
- •jsonpath_lib has the most downloads (12.7M), suggesting wider adoption.
- •jsonpath_lib is depended on by 825 crates — strongest ecosystem trust.
- •⚠ jsonpath_lib, jsonpath_lib2 have not been updated in over a year.
- •jsonpath_lib, jsonpath_lib2 are pre-1.0 — API may change.