encoder, decoder, and lint/validator for JSON (JavaScript Object Notation) compliant with RFC 7159
Likely abandoned. No release or commit for years (last release over 4 years ago).
Consider insteadsimplejsonPythie’s Index: 8352.1M downloads/moCompare →
pip install demjson3demjson3
This is a fork of the popular tool demjson to only support Python 3. The decision to do this is mainly based on all the headache caused by trying to support Python 2 AND 3.
demjson3 is a Python language module for encoding, decoding, and syntax-checking JSON data. It works under Python 3.
It comes with a jsonlint script which can be used to validate your JSON documents for strict conformance to the JSON specification, and to detect potential data portability issues. It can also reformat or pretty-print JSON documents; either by re-indenting or removing unnecessary whitespace.
What's new
Version 3.0.0 will start to only work under Python 3.
Version 2.2.4 fixes problem with jsonlint under Python 3 when trying to reformat JSON (-f or -F options) and writing the output to standard output.
Version 2.2.3 fixes incorrect return values from the "jsonlint" command. Also fixes a minor problem with the included unit tests in certain Python versions.
Version 2.2.2 fixes installation problems with certain Python 3 versions prior to Python 3.4. No other changes.
Version 2.2.1 adds an enhancement for HTML safety, and a few obscure bug fixes.
Version 2.2 fixes compatibility with Python 2.6 and narrow-Unicode Pythons, fixes bugs with statistics, and adds many enhancements to the treatment of numbers and floating-point values.
Version 2.0.1 is a re-packaging of 2.0, after discovering problems with incorrect checksums in the PyPI distribution of 2.0. No changes were made from 2.0.
Version 2.0, released 2014-05-21, is a MAJOR new version with many changes and improvements.