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
----------
.. 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simplejson-3.9.0.tar.gz
(77.2 kB
view hashes)
Built Distributions
simplejson-3.9.0.win-amd64-py3.5.exe
(657.3 kB
view hashes)
simplejson-3.9.0.win-amd64-py3.4.exe
(287.2 kB
view hashes)
simplejson-3.9.0.win-amd64-py3.3.exe
(287.2 kB
view hashes)
simplejson-3.9.0.win-amd64-py2.7.exe
(290.4 kB
view hashes)
simplejson-3.9.0.win32-py3.5.exe
(526.0 kB
view hashes)
simplejson-3.9.0.win32-py3.4.exe
(255.5 kB
view hashes)
simplejson-3.9.0.win32-py3.3.exe
(255.5 kB
view hashes)
simplejson-3.9.0.win32-py2.7.exe
(261.9 kB
view hashes)
Close
Hashes for simplejson-3.9.0.win-amd64-py3.5.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07325d74e215a556bb23e741326765e0406ea9bceac88646412f208e5ca1caa9 |
|
MD5 | 7be9bb03dfa785da4dcdc21f474adbf2 |
|
BLAKE2b-256 | eb498d782e70b966e4f1e43b208e001a29fb221461d79c153b380bff0110a6c3 |
Close
Hashes for simplejson-3.9.0.win-amd64-py3.4.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa8532f1b0a7b9fd8a09de857c514fd06e52a2c396776200c5673359372b824e |
|
MD5 | aeb66253b9437ff6ea0f74e5fa9549c1 |
|
BLAKE2b-256 | 0e4f0b9d2019ebdbf70626c14d6753fbd217b08dc85d4aece4ece0b0f6d811fe |
Close
Hashes for simplejson-3.9.0.win-amd64-py3.3.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578f5c6ad47309946eab8c2b8699e0211a6bb7cf1f92a11e1c8a9bf0aefbb2cd |
|
MD5 | 5ba0e7ee2c8e5fd3470e3335047f9bb7 |
|
BLAKE2b-256 | f6837a459667111c14b4821c33bca1c2f41a160850163fe7ea87c9491f909f81 |
Close
Hashes for simplejson-3.9.0.win-amd64-py2.7.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a5bd380dcd4170db8aac1f7d48704e92263622a369dcaadef489f211fc33d0b |
|
MD5 | 550f64091bc891a884197e122624456d |
|
BLAKE2b-256 | 3a0dfc110840b5b96871a73e9fa18549a2839bc8ece1e67bae04fc790cc4a5d2 |
Close
Hashes for simplejson-3.9.0.win32-py3.5.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85164d9b56c3205499b100e838277a9c8adb32ec5dc64e4dd21b4e9b70c28237 |
|
MD5 | 1942c252bba281e3faa123512f1b522f |
|
BLAKE2b-256 | 29e5266182eb6cc52354518ee50e575c00a7f2e8fc30bdb4de8d1fa76bfa1d5c |
Close
Hashes for simplejson-3.9.0.win32-py3.4.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c323c304e20fe91e721a9a256932b7b2dcfd605318f4ddd1b8a0d30329c87b |
|
MD5 | 724f30fe7d37492a37867b8adb71ca1e |
|
BLAKE2b-256 | 725fc3b87adb909d65cf5303dd67914acbd29ef1f26a2d38f7e455b314e79d78 |
Close
Hashes for simplejson-3.9.0.win32-py3.3.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e9898d3afcabf16c1258fa3598e730c0c09359670ce66cbd5d04ed9e8077e8a |
|
MD5 | 8ca0a8b4c74c24491af5701be2ad8cea |
|
BLAKE2b-256 | d1327b8101be6cae78b7565ad8f09129dd4adbb99627289ce82ff2ae43c33baa |
Close
Hashes for simplejson-3.9.0.win32-py2.7.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6d5b0478209871e703d62ce3c5cf7b2ecbab1cfd31df9ca5db09911fdac77e0 |
|
MD5 | 7e7f9d2c839052a3fc901893887c7375 |
|
BLAKE2b-256 | 855ddb2fd8a92f5800890cae781ee7779d9b9c11cc6fb74ef92fcb41edd9b172 |
Close
Hashes for simplejson-3.9.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78750ec8d9ba080fb09aaabb402cd09379f99bb9982c4632c208075c11a7f11 |
|
MD5 | 463c66628be1ac40798a440ce7cbc5d6 |
|
BLAKE2b-256 | 3a85d5a71368c24e5d86c2bff5f907dc46da479da37b9129aeffa72911ced244 |
Close
Hashes for simplejson-3.9.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19f2e6d8bb8fe15d67dcd47fed05d18bd26a4d86f8db5b8b78512f4d5fd7aa97 |
|
MD5 | 05da7768c3f34fcbc51c82c14dd431ed |
|
BLAKE2b-256 | 334fc53947bb3bf1c6da820ffb7e3192e769dd853119bb682ec8a656a24b58c4 |
Close
Hashes for simplejson-3.9.0-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb808d081c2833212b66b3220294a3609026cf27d564aae67f77e39699c404e0 |
|
MD5 | f6518e5ff2c6270856b46cc7c5ebd43c |
|
BLAKE2b-256 | bd7ef9e78e89ffdcfd0209e7f24e897ec4cb8c269a64b28adc5bf8bb68fa5312 |
Close
Hashes for simplejson-3.9.0-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04dd6075436f2cbc6caafda86a8cc4c759fa8d2e02035676703a0d19ec5221d7 |
|
MD5 | 5ba1b0b97c5a976555ad5e62c727132c |
|
BLAKE2b-256 | f0796f1b8a1748bf8475722d3ec2795413ae928d281ddb6400c98343d6bdb1c3 |
Close
Hashes for simplejson-3.9.0-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6743fcb9cb24c31ac4e560670582ec4d8d0508bd302c2272475652b4b3f2efcc |
|
MD5 | 72cf783068405affd3108348eaf5f874 |
|
BLAKE2b-256 | 171c6319fd5678cc0f2408fbe03a2fae81d04bce66556db457e15e3cb9466b3d |
Close
Hashes for simplejson-3.9.0-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53ef39bf7b330f5048a3caa5637eaba640d6cfc7d238dcfa035035ccb3a66037 |
|
MD5 | 0c8e764f8bbfbde09f6c6cf151b3a3d7 |
|
BLAKE2b-256 | c64c6cbf7510c8437c94379845d1149032b37b458a91524f3ab8505c1b6894b7 |
Close
Hashes for simplejson-3.9.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b67392710365511b301cf304d2b5bf5c77a87d32da6dcdc0f23b8f0cdfca551c |
|
MD5 | 8031bd316099ca8e729df4fcb3868a0a |
|
BLAKE2b-256 | e845276c2716b56b3d53b4f418ea3d9320563379483c0b1a53b0e76205be64fb |
Close
Hashes for simplejson-3.9.0-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b59c8b5c647ca1acdb7e8708fb31b8752905880f4b1a8f5b2003576fff85944 |
|
MD5 | fc94c2bde4bdc2e926be73df9bc78ade |
|
BLAKE2b-256 | 741f8a1dc4ab9b12ff4425199cbbc2737296791f6b273463dfaab74766855069 |