A wrapper to JSON parsers allowing comments, multiline strings and trailing commas. Current version 0.4.2, supports Python >=3.3. Suitable for config files with human-friendly JSON extensions.
pip install jsoncommentVerified import paths — ran on the pinned version, not inferred.
Parse a JSON string with C-style comments.
Ensure comment syntax is not inside string literals.
Always validate output if parsing untrusted input.
Use: from jsoncomment import JsonComment; parser = JsonComment(); parser.loads(...)
Use: from jsoncomment import JsonComment
No dependency data recorded yet.