A Python library that extends standard JSON parsing to support comments (both // line and /* block */), trailing commas, single quotes, and unquoted keys, conforming to the jsonc spec. Current version 1.2.10, release cadence: irregular.
pip install json-with-commentsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parse a JSON with comments string into a Python dict.
Use 'from jsonc import loads' not 'from json_with_comments import loads'.
If you need to preserve comments, consider jsonc-parser or strip-comments manually.
Update imports to 'from jsonc import loads'.
Use 'from jsonc import loads' instead.
Check for naming conflicts in the current directory, and upgrade to latest version: pip install --upgrade json-with-comments.
No dependency data recorded yet.