Comparison
hjson vs json5 vs json5kit 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 8 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 json5kitJSON5 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.
- 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.