Comparison
commentjson vs json-with-comments vs jsoncomment vs jstyleson
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 jsoncommentLibrary to parse JSON with js-style comments.
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install jstylesonIn short
- commentjson looks abandoned: avoid it for new projects.
- jsoncomment looks abandoned: avoid it for new projects.
- jstyleson 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 | jstyleson |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 58 | Pythie’s Index: 19 | Pythie’s Index: 21 |
| Verdict | Likely abandoned | Maintained | Likely abandoned | Likely abandoned |
| Downloads / month | 1.2M | 155.2K | 123.6K | 1.1M |
| Downloads, month over month | -58% | +39% | +47% | +14% |
| GitHub stars | 108 | 21 | – | 40 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 70 | 11 | 10 | 26 |
| Last release | Oct 5, 2020 | Aug 24, 2026 | Feb 8, 2019 | Jun 21, 2016 |
| Releases, 12 months | 0 | 1 | 0 | 0 |
| Weeks with commits | 0 / 26 | 7 / 26 | – | 0 / 26 |
| Recent contributors | 8 | 5 | – | 5 |
| First release | Sep 2013 | Jul 2022 | May 2013 | Jun 2016 |
| Python versions | – | 3.8 – 3.15 | 3.3 | 3.5 |
| License | MIT | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.