Welcome to relaxedjson’s documentation!¶
relaxedjson (https://github.com/simon-engledew/relaxedjson) is a library for parsing JSON that is missing quotes around its keys.
Uses the parser-combinator library Parsec (https://github.com/sighingnow/parsec.py)
To install from pypi:
pip install relaxedjson
To install as an egg-link in development mode:
python setup.py develop -N
-
relaxedjson.
parse
(text)¶ Attempt to parse JSON text, returning an object
Parameters: text – String containing json Return type: dict or list Raises: parsec.ParseError