Comparison
hjson vs json5 vs nestedtext vs pyjson5
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 json5human 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 nestedtextJSON5 serializer and parser for Python 3 written in Cython.
Low maintenance activity. Last release 7 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pyjson5In short
- hjson looks abandoned: avoid it for new projects.
- 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 | nestedtext | pyjson5 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | 83 |