Decision Workspace
serde_trim vs serde_json_path vs json-pretty-compact
Side-by-side comparison of Rust crates
50
serde_trim
growingv1.1.0
serde deserialize_with String trim.Supports multiple std::collections types
52
serde_json_path
growingv0.7.2
Query serde_json Values using JSONPath
47
json-pretty-compact
growingv0.1.2
A compact & pretty formatter for serde_json
Core Metrics
| serde_trim | serde_json_path | json-pretty-compact | |
|---|---|---|---|
| Health Score | 50 | 52 | 47 |
| Total Downloads | 591.7K | 1.1M | 18.3K |
| 30d Downloads | 81.4K | 194.9K | 5.5K |
| Dependents | 34 | 478 | 22 |
| Releases | 7 | 22 | 3 |
| Last Updated | 831d ago | 418d ago | 528d ago |
| Age | 3y 9m | 3y 1m | 1y 5m |
Health Breakdown
serde_trim
Maintenance
4
Quality
20
Community
9
Popularity
7
Documentation
10
serde_json_path
Maintenance
8
Quality
14
Community
10
Popularity
7
Documentation
13
json-pretty-compact
Maintenance
6
Quality
14
Community
10
Popularity
5
Documentation
12
Technical Details
| serde_trim | serde_json_path | json-pretty-compact | |
|---|---|---|---|
| Version | 1.1.0 | 0.7.2 | 0.1.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT AND Apache-2.0 | MIT | MIT |
| Dependencies | 3 | 11 | 4 |
| Crate Size | 8KB | 29KB | 10KB |
| Features | 0 | 4 | 0 |
| Yanked % | 0.0% | 4.5% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •serde_json_path leads with a health score of 52/100, but none of the options score above 80.
- •serde_json_path is depended on by 478 crates — strongest ecosystem trust.
- •⚠ serde_trim, serde_json_path, json-pretty-compact have not been updated in over a year.
- •serde_json_path, json-pretty-compact are pre-1.0 — API may change.