Comparison
commentjson vs json-with-comments 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-commentsLibrary 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.
- 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 | jstyleson |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | 58 |