Comparison
commentjson vs json-with-comments vs jsoncomment
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Add Python and JavaScript style comments in your JSON files.
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install commentjsonJSON with Comments (jsonc) for Python
Maintained. Last release 3 months ago, commits in 7 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install json-with-commentsA wrapper to JSON parsers allowing comments, multiline strings and trailing commas
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install jsoncommentIn short
- commentjson looks abandoned: avoid it for new projects.
- jsoncomment looks abandoned: avoid it for new projects.
- json-with-comments is the most used: 155.2K downloads a month.
- json-with-comments also has the best Pythie’s Index (58).
- json-with-comments is growing fastest: downloads +39% over the last month.
Side by side
| Metric | commentjson | json-with-comments | jsoncomment |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | 58 |