jsonyx.allow.COMMENTS

jsonyx.allow.COMMENTS = frozenset({'comments'})

Allow block and line comments.

>>> import jsonyx as json
>>> import jsonyx.allow
>>> json.loads("0 /* Block */ // and line comment", allow=jsonyx.allow.COMMENTS)
0