Skip to main content

A Python implementation of the

Project description

A Python implementation of the JSON5 data format <https://github.com/aseemk/json5>.

JSON5 <https://github.com/aseemk/json5> extends the JSON <http://www.json.org> data interchange format to make it slightly more usable as a configuration language:

  • JavaScript-style comments (both single and multi-line) are legal.

  • Object keys may be unquoted if they are legal JavaScript field names.

  • Objects and arrays may end with trailing commas.

  • Strings can be single-quoted, and multi-line string literals are allowed.

There are a few other more minor extensions to JSON; see the above page for the full details.

This project implements a reader and writer implementation for Python; where possible, it mirrors the standard Python JSON API <https://docs.python.org/library/json.html> for ease of use.

This is an early release. It is not well-tested, and has not been tuned for performance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

json5-0.1.3.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

json5-0.1.3-py2.py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page