Comparison
hjson vs json5 vs json5kit vs nestedtext
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Hjson, a user interface for JSON.
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install hjsonA Python implementation of the JSON5 data format.
Actively maintained. Last release 7 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
pip install json5A Roundtrip parser and CST for JSON, JSONC and JSON5.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install json5kithuman readable and writable data interchange format
Maintained. Last release 11 months ago, commits in 6 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install nestedtextIn short
- hjson looks abandoned: avoid it for new projects.
- json5kit is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- json5 is the most used: 50.3M downloads a month, 11× more than hjson.
- json5 also has the best Pythie’s Index (83).
- Safe default for a new project: json5.
Side by side
| Metric | hjson | json5 | json5kit | nestedtext |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | 83 |