Comparison
hjson vs json-five vs json5
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 JSON5 parser that, among other features, supports round-trip preservation of comments
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install json-fiveA 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 json5In 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.