Json Comment

A wrapper to JSON parsers allowing comments and multi line strings


Dependencies

Python 3.3.1+

Optional

ujson 1.30+


Description

This package allows to parse JSON files or strings with comments and multi line strings.


Comments

Inline comments are not supported


Multi line strings

Any string can be multi line, even object keys.

Notes

JSON Comment works with any JSON parser which supports "load" and "loads", by adding a preprocessor to these calls.


Usage

Install

python setup.py install

Examples

Added in the examples directory


Contact

Dando Real ITA @ Steam Profile