Skip to main content

Simple, fast, extensible JSON encoder/decoder for Python

Project description

simplejson
----------

.. image:: https://travis-ci.org/simplejson/simplejson.svg?branch=master
:target: https://travis-ci.org/simplejson/simplejson

simplejson is a simple, fast, complete, correct and extensible
JSON <http://json.org> encoder and decoder for Python 2.5+
and Python 3.3+. It is pure Python code with no dependencies,
but includes an optional C extension for a serious speed boost.

The latest documentation for simplejson can be read online here:
https://simplejson.readthedocs.io/

simplejson is the externally maintained development version of the
json library included with Python 2.6 and Python 3.0, but maintains
backwards compatibility with Python 2.5.

The encoder can be specialized to provide serialization in any kind of
situation, without any special support by the objects to be serialized
(somewhat like pickle). This is best done with the ``default`` kwarg
to dumps.

The decoder can handle incoming JSON strings of any specified encoding
(UTF-8 by default). It can also be specialized to post-process JSON
objects with the ``object_hook`` or ``object_pairs_hook`` kwargs. This
is particularly useful for implementing protocols such as JSON-RPC
that have a richer type system than JSON itself.

For those of you that have legacy systems to maintain, there is a
very old fork of simplejson in the `python2.2`_ branch that supports
Python 2.2. This is based off of a very old version of simplejson,
is not maintained, and should only be used as a last resort.

.. _python2.2: https://github.com/simplejson/simplejson/tree/python2.2
https://github.com/simplejson/simplejson/tree/python2.2

Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
simplejson-3.9.0-cp27-cp27m-win32.whl (66.0 kB) Copy SHA256 hash SHA256 Wheel cp27
simplejson-3.9.0-cp27-cp27m-win_amd64.whl (66.9 kB) Copy SHA256 hash SHA256 Wheel cp27
simplejson-3.9.0-cp33-cp33m-win32.whl (64.8 kB) Copy SHA256 hash SHA256 Wheel cp33
simplejson-3.9.0-cp33-cp33m-win_amd64.whl (65.3 kB) Copy SHA256 hash SHA256 Wheel cp33
simplejson-3.9.0-cp34-cp34m-win32.whl (64.8 kB) Copy SHA256 hash SHA256 Wheel cp34
simplejson-3.9.0-cp34-cp34m-win_amd64.whl (65.3 kB) Copy SHA256 hash SHA256 Wheel cp34
simplejson-3.9.0-cp35-cp35m-win32.whl (66.0 kB) Copy SHA256 hash SHA256 Wheel cp35
simplejson-3.9.0-cp35-cp35m-win_amd64.whl (67.8 kB) Copy SHA256 hash SHA256 Wheel cp35
simplejson-3.9.0.tar.gz (77.2 kB) Copy SHA256 hash SHA256 Source None
simplejson-3.9.0.win32-py2.7.exe (261.9 kB) Copy SHA256 hash SHA256 Windows Installer 2.7
simplejson-3.9.0.win32-py3.3.exe (255.5 kB) Copy SHA256 hash SHA256 Windows Installer 3.3
simplejson-3.9.0.win32-py3.4.exe (255.5 kB) Copy SHA256 hash SHA256 Windows Installer 3.4
simplejson-3.9.0.win32-py3.5.exe (526.0 kB) Copy SHA256 hash SHA256 Windows Installer 3.5
simplejson-3.9.0.win-amd64-py2.7.exe (290.4 kB) Copy SHA256 hash SHA256 Windows Installer 2.7
simplejson-3.9.0.win-amd64-py3.3.exe (287.2 kB) Copy SHA256 hash SHA256 Windows Installer 3.3
simplejson-3.9.0.win-amd64-py3.4.exe (287.2 kB) Copy SHA256 hash SHA256 Windows Installer 3.4
simplejson-3.9.0.win-amd64-py3.5.exe (657.3 kB) Copy SHA256 hash SHA256 Windows Installer 3.5

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page