Skip to main content

Simple, fast, extensible JSON encoder/decoder for Python

Project description

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

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.

Release history Release notifications

This version
History Node

3.15.0

History Node

3.14.0

History Node

3.13.2

History Node

3.13.0

History Node

3.12.0

History Node

3.11.1

History Node

3.10.0

History Node

3.9.0

History Node

3.8.2

History Node

3.8.1

History Node

3.8.0

History Node

3.7.3

History Node

3.7.2

History Node

3.7.1

History Node

3.7.0

History Node

3.6.5

History Node

3.6.4

History Node

3.6.3

History Node

3.6.2

History Node

3.6.1

History Node

3.6.0

History Node

3.5.3

History Node

3.5.2

History Node

3.5.1

History Node

3.5.0

History Node

3.4.1

History Node

3.4.0

History Node

3.3.3

History Node

3.3.2

History Node

3.3.1

History Node

3.3.0

History Node

3.2.0

History Node

3.1.3

History Node

3.1.2

History Node

3.1.0

History Node

3.0.9

History Node

3.0.8

History Node

3.0.7

History Node

3.0.6

History Node

3.0.5

History Node

3.0.4

History Node

3.0.3

History Node

3.0.0

History Node

2.6.2

History Node

2.6.1

History Node

2.6.0

History Node

2.5.2

History Node

2.5.1

History Node

2.5.0

History Node

2.4.0

History Node

2.3.3

History Node

2.3.2

History Node

2.3.1

History Node

2.3.0

History Node

2.2.1

History Node

2.2.0

History Node

2.1.6

History Node

2.1.5

History Node

2.1.4

History Node

2.1.3

History Node

2.1.2

History Node

2.1.1

History Node

2.1.0

History Node

2.1.0rc3

History Node

2.0.9

History Node

2.0.8

History Node

2.0.7

History Node

2.0.6

History Node

2.0.5

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.9.3

History Node

1.9.2

History Node

1.9.1

History Node

1.9

History Node

1.8.1

History Node

1.8

History Node

1.7.5

History Node

1.7.4

History Node

1.7.3

History Node

1.7.2

History Node

1.7.1

History Node

1.7

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.1

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.15.0-cp27-cp27m-macosx_10_12_x86_64.whl (69.6 kB) Copy SHA256 hash SHA256 Wheel cp27 May 12, 2018
simplejson-3.15.0-cp27-cp27m-win32.whl (67.3 kB) Copy SHA256 hash SHA256 Wheel cp27 May 12, 2018
simplejson-3.15.0-cp27-cp27m-win_amd64.whl (68.9 kB) Copy SHA256 hash SHA256 Wheel cp27 May 12, 2018
simplejson-3.15.0-cp33-cp33m-win32.whl (67.6 kB) Copy SHA256 hash SHA256 Wheel cp33 May 12, 2018
simplejson-3.15.0-cp33-cp33m-win_amd64.whl (68.5 kB) Copy SHA256 hash SHA256 Wheel cp33 May 12, 2018
simplejson-3.15.0-cp34-cp34m-win32.whl (65.9 kB) Copy SHA256 hash SHA256 Wheel cp34 May 12, 2018
simplejson-3.15.0-cp34-cp34m-win_amd64.whl (66.8 kB) Copy SHA256 hash SHA256 Wheel cp34 May 12, 2018
simplejson-3.15.0-cp35-cp35m-macosx_10_12_x86_64.whl (68.7 kB) Copy SHA256 hash SHA256 Wheel cp35 May 12, 2018
simplejson-3.15.0-cp35-cp35m-win32.whl (67.1 kB) Copy SHA256 hash SHA256 Wheel cp35 May 12, 2018
simplejson-3.15.0-cp35-cp35m-win_amd64.whl (69.4 kB) Copy SHA256 hash SHA256 Wheel cp35 May 12, 2018
simplejson-3.15.0-cp36-cp36m-win_amd64.whl (69.4 kB) Copy SHA256 hash SHA256 Wheel cp36 May 12, 2018
simplejson-3.15.0.tar.gz (81.0 kB) Copy SHA256 hash SHA256 Source None May 12, 2018
simplejson-3.15.0.win32-py2.7.exe (264.7 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 May 12, 2018
simplejson-3.15.0.win32-py3.3.exe (258.1 kB) Copy SHA256 hash SHA256 Windows Installer 3.3 May 12, 2018
simplejson-3.15.0.win32-py3.4.exe (258.2 kB) Copy SHA256 hash SHA256 Windows Installer 3.4 May 12, 2018
simplejson-3.15.0.win32-py3.5.exe (526.7 kB) Copy SHA256 hash SHA256 Windows Installer 3.5 May 12, 2018
simplejson-3.15.0.win-amd64-py2.7.exe (293.9 kB) Copy SHA256 hash SHA256 Windows Installer 2.7 May 12, 2018
simplejson-3.15.0.win-amd64-py3.3.exe (290.3 kB) Copy SHA256 hash SHA256 Windows Installer 3.3 May 12, 2018
simplejson-3.15.0.win-amd64-py3.4.exe (290.3 kB) Copy SHA256 hash SHA256 Windows Installer 3.4 May 12, 2018
simplejson-3.15.0.win-amd64-py3.5.exe (658.4 kB) Copy SHA256 hash SHA256 Windows Installer 3.5 May 12, 2018
simplejson-3.15.0.win-amd64-py3.6.exe (658.4 kB) Copy SHA256 hash SHA256 Windows Installer 3.6 May 12, 2018

Supported by

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