simplejson 3.20.2


pip install simplejson

  Latest version

Released: Sep 26, 2025

Project Links

Meta
Author: Bob Ippolito
Requires Python: >=2.5, !=3.0.*, !=3.1.*, !=3.2.*

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

License
  • OSI Approved :: MIT License
  • OSI Approved :: Academic Free License (AFL)

Programming Language
  • Python
  • Python :: 2
  • Python :: 2.5
  • Python :: 2.6
  • Python :: 2.7
  • Python :: 3
  • Python :: 3.3
  • Python :: 3.4
  • Python :: 3.5
  • Python :: 3.6
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Topic
  • Software Development :: Libraries :: Python Modules

simplejson is a simple, fast, complete, correct and extensible JSON <http://json.org> encoder and decoder for Python 3.3+ with legacy support for Python 2.5+. 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 (since 2.6). This version is tested with the latest Python 3.8 and maintains backwards compatibility with Python 3.3+ and the legacy Python 2.5 - Python 2.7 releases.

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 on a very old version of simplejson, is not maintained, and should only be used as a last resort.

3.20.2 Sep 26, 2025
3.20.1 Feb 15, 2025
3.19.3 Aug 14, 2024
3.19.2 Oct 06, 2023
3.19.1 Apr 06, 2023
3.18.4 Mar 14, 2023
3.18.3 Feb 05, 2023
3.18.2 Feb 05, 2023
3.18.1 Jan 03, 2023
3.18.0 Nov 14, 2022
3.17.6 Nov 16, 2021
3.17.5 Aug 24, 2021
3.17.4 Aug 20, 2021
3.17.3 Jul 09, 2021
3.17.2 Jul 16, 2020
3.17.0 Nov 18, 2019
3.16.0 Jun 28, 2018
3.15.0 May 12, 2018
3.14.0 Apr 21, 2018
3.13.2 Nov 24, 2017
3.13.0 Nov 24, 2017
3.12.0 Nov 05, 2017
3.11.1 Jun 19, 2017
3.10.0 Oct 28, 2016
3.9.0 Oct 21, 2016
3.8.2 Feb 15, 2016
3.8.1 Oct 27, 2015
3.8.0 Jul 18, 2015
3.7.3 May 31, 2015
3.7.2 May 22, 2015
3.7.1 May 19, 2015
3.7.0 May 18, 2015
3.6.5 Oct 24, 2014
3.6.4 Sep 29, 2014
3.6.3 Aug 18, 2014
3.6.2 Aug 10, 2014
3.6.1 Aug 10, 2014
3.6.0 Jul 21, 2014
3.5.3 Jun 24, 2014
3.5.2 May 23, 2014
3.5.1 May 22, 2014
3.5.0 May 21, 2014
3.4.1 Apr 30, 2014
3.4.0 Apr 02, 2014
3.3.3 Feb 15, 2014
3.3.2 Jan 06, 2014
3.3.1 Oct 05, 2013
3.3.0 May 08, 2013
3.2.0 May 01, 2013
3.1.3 Apr 06, 2013
3.1.2 Mar 20, 2013
3.1.0 Feb 21, 2013
3.0.9 Feb 21, 2013
3.0.8 Feb 19, 2013
3.0.7 Jan 11, 2013
3.0.6 Jan 11, 2013
3.0.5 Jan 03, 2013
3.0.4 Jan 02, 2013
3.0.3 Jan 01, 2013
3.0.0 Dec 31, 2012
2.6.2 Sep 21, 2012
2.6.1 Jul 28, 2012
2.6.0 Jun 26, 2012
2.5.2 May 11, 2012
2.5.1 May 10, 2012
2.5.0 Mar 29, 2012
2.4.0 Mar 07, 2012
2.3.3 Feb 28, 2012
2.3.2 Dec 30, 2011
2.3.1 Dec 29, 2011
2.3.0 Dec 05, 2011
2.2.1 Sep 06, 2011
2.2.0 Sep 04, 2011
2.1.6 May 08, 2011
2.1.5 Apr 17, 2011
2.1.4 Apr 17, 2011
2.1.3 Jan 17, 2011
2.1.2 Nov 01, 2010
2.1.1 Apr 01, 2010
2.1.0 Mar 11, 2010
2.0.9 Feb 19, 2009
2.0.8 Feb 16, 2009
2.0.7 Jan 05, 2009
2.0.6 Dec 19, 2008
2.0.5 Nov 23, 2008
2.0.4 Oct 24, 2008
2.0.3 Oct 11, 2008
2.0.2 Oct 06, 2008
2.0.1 Sep 29, 2008
2.0.0 Sep 27, 2008
1.9.3 Sep 23, 2008
1.9.2 Jul 07, 2008
1.9.1 May 04, 2008
1.9 May 03, 2008
1.8.1 Mar 23, 2008
1.8 Mar 23, 2008
1.7.5 Mar 16, 2008
1.7.4 Feb 23, 2008
1.7.3 Oct 02, 2007
1.7.2 Oct 02, 2007
1.7.1 Mar 28, 2007
1.7 Mar 18, 2007
1.6 Mar 04, 2007
1.5 Jan 18, 2007
1.4 Aug 10, 2006
1.3 Apr 02, 2006
1.1 Dec 31, 2005
3.9.0.win32 Oct 21, 2016
3.9.0.win Oct 21, 2016
3.8.2.win32 Feb 15, 2016
3.8.2.win Feb 15, 2016
3.17.0.win32 Nov 18, 2019
3.17.0.win Nov 18, 2019
3.16.0.win32 Jun 28, 2018
3.16.0.win Jun 28, 2018
3.15.0.win32 May 12, 2018
3.15.0.win May 12, 2018
3.14.0.win32 Apr 21, 2018
3.14.0.win Apr 21, 2018
3.13.2.win32 Nov 24, 2017
3.13.2.win Nov 24, 2017
3.13.0.win32 Nov 24, 2017
3.13.0.win Nov 24, 2017
3.12.0.win32 Nov 05, 2017
3.12.0.win Nov 05, 2017
3.11.1.win32 Jun 19, 2017
3.11.1.win Jun 19, 2017
3.10.0.win32 Oct 28, 2016
3.10.0.win Oct 28, 2016
2.1.1.win32 Apr 01, 2010
2.0.8.win32 Feb 17, 2009
2.0.7.win32 Jan 13, 2009

Wheel compatibility matrix

Platform CPython 2.7 CPython 3.6 CPython 3.7 CPython 3.8 CPython 3.9 CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython (wide) 2.7 Python 3
any
macosx_10_13_universal2
macosx_10_13_x86_64
macosx_10_9_universal2
macosx_10_9_x86_64
macosx_11_0_arm64
manylinux1_i686
manylinux1_x86_64
manylinux2010_i686
manylinux2010_x86_64
manylinux2014_aarch64
manylinux2014_i686
manylinux2014_ppc64le
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_i686
manylinux_2_17_ppc64le
manylinux_2_17_x86_64
manylinux_2_5_i686
manylinux_2_5_x86_64
musllinux_1_2_aarch64
musllinux_1_2_i686
musllinux_1_2_ppc64le
musllinux_1_2_x86_64
win32
win_amd64

Files in release

simplejson-3.20.2-cp27-cp27m-manylinux1_i686.whl (128.4KiB)
simplejson-3.20.2-cp27-cp27m-manylinux1_x86_64.whl (129.9KiB)
simplejson-3.20.2-cp27-cp27m-manylinux2010_i686.whl (128.4KiB)
simplejson-3.20.2-cp27-cp27m-manylinux2010_x86_64.whl (129.9KiB)
simplejson-3.20.2-cp27-cp27mu-manylinux1_i686.whl (129.8KiB)
simplejson-3.20.2-cp27-cp27mu-manylinux1_x86_64.whl (131.3KiB)
simplejson-3.20.2-cp27-cp27mu-manylinux2010_i686.whl (129.8KiB)
simplejson-3.20.2-cp27-cp27mu-manylinux2010_x86_64.whl (131.3KiB)
simplejson-3.20.2-cp310-cp310-macosx_10_9_universal2.whl (91.8KiB)
simplejson-3.20.2-cp310-cp310-macosx_10_9_x86_64.whl (74.1KiB)
simplejson-3.20.2-cp310-cp310-macosx_11_0_arm64.whl (74.3KiB)
simplejson-3.20.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (135.6KiB)
simplejson-3.20.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (143.3KiB)
simplejson-3.20.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (131.3KiB)
simplejson-3.20.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (134.9KiB)
simplejson-3.20.2-cp310-cp310-musllinux_1_2_aarch64.whl (137.0KiB)
simplejson-3.20.2-cp310-cp310-musllinux_1_2_i686.whl (137.2KiB)
simplejson-3.20.2-cp310-cp310-musllinux_1_2_ppc64le.whl (145.2KiB)
simplejson-3.20.2-cp310-cp310-musllinux_1_2_x86_64.whl (138.0KiB)
simplejson-3.20.2-cp310-cp310-win32.whl (72.6KiB)
simplejson-3.20.2-cp310-cp310-win_amd64.whl (74.3KiB)
simplejson-3.20.2-cp311-cp311-macosx_10_9_universal2.whl (90.5KiB)
simplejson-3.20.2-cp311-cp311-macosx_10_9_x86_64.whl (73.5KiB)
simplejson-3.20.2-cp311-cp311-macosx_11_0_arm64.whl (73.5KiB)
simplejson-3.20.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (140.4KiB)
simplejson-3.20.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (149.8KiB)
simplejson-3.20.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (138.3KiB)
simplejson-3.20.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141.5KiB)
simplejson-3.20.2-cp311-cp311-musllinux_1_2_aarch64.whl (141.2KiB)
simplejson-3.20.2-cp311-cp311-musllinux_1_2_i686.whl (142.8KiB)
simplejson-3.20.2-cp311-cp311-musllinux_1_2_ppc64le.whl (150.9KiB)
simplejson-3.20.2-cp311-cp311-musllinux_1_2_x86_64.whl (144.6KiB)
simplejson-3.20.2-cp311-cp311-win32.whl (72.4KiB)
simplejson-3.20.2-cp311-cp311-win_amd64.whl (74.1KiB)
simplejson-3.20.2-cp312-cp312-macosx_10_9_universal2.whl (91.3KiB)
simplejson-3.20.2-cp312-cp312-macosx_10_9_x86_64.whl (74.1KiB)
simplejson-3.20.2-cp312-cp312-macosx_11_0_arm64.whl (73.9KiB)
simplejson-3.20.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (146.8KiB)
simplejson-3.20.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (154.8KiB)
simplejson-3.20.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (145.1KiB)
simplejson-3.20.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (148.8KiB)
simplejson-3.20.2-cp312-cp312-musllinux_1_2_aarch64.whl (146.7KiB)
simplejson-3.20.2-cp312-cp312-musllinux_1_2_i686.whl (148.3KiB)
simplejson-3.20.2-cp312-cp312-musllinux_1_2_ppc64le.whl (155.3KiB)
simplejson-3.20.2-cp312-cp312-musllinux_1_2_x86_64.whl (150.7KiB)
simplejson-3.20.2-cp312-cp312-win32.whl (72.5KiB)
simplejson-3.20.2-cp312-cp312-win_amd64.whl (74.2KiB)
simplejson-3.20.2-cp313-cp313-macosx_10_13_universal2.whl (91.3KiB)
simplejson-3.20.2-cp313-cp313-macosx_10_13_x86_64.whl (74.1KiB)
simplejson-3.20.2-cp313-cp313-macosx_11_0_arm64.whl (73.9KiB)
simplejson-3.20.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (147.0KiB)
simplejson-3.20.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (155.1KiB)
simplejson-3.20.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (145.4KiB)
simplejson-3.20.2-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (149.0KiB)
simplejson-3.20.2-cp313-cp313-musllinux_1_2_aarch64.whl (147.0KiB)
simplejson-3.20.2-cp313-cp313-musllinux_1_2_i686.whl (148.6KiB)
simplejson-3.20.2-cp313-cp313-musllinux_1_2_ppc64le.whl (155.6KiB)
simplejson-3.20.2-cp313-cp313-musllinux_1_2_x86_64.whl (151.1KiB)
simplejson-3.20.2-cp313-cp313-win32.whl (72.5KiB)
simplejson-3.20.2-cp313-cp313-win_amd64.whl (74.2KiB)
simplejson-3.20.2-cp36-cp36m-macosx_10_9_x86_64.whl (72.5KiB)
simplejson-3.20.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (122.8KiB)
simplejson-3.20.2-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (131.5KiB)
simplejson-3.20.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (120.0KiB)
simplejson-3.20.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (123.1KiB)
simplejson-3.20.2-cp36-cp36m-musllinux_1_2_aarch64.whl (125.1KiB)
simplejson-3.20.2-cp36-cp36m-musllinux_1_2_i686.whl (125.5KiB)
simplejson-3.20.2-cp36-cp36m-musllinux_1_2_ppc64le.whl (133.3KiB)
simplejson-3.20.2-cp36-cp36m-musllinux_1_2_x86_64.whl (126.6KiB)
simplejson-3.20.2-cp36-cp36m-win32.whl (73.1KiB)
simplejson-3.20.2-cp36-cp36m-win_amd64.whl (75.2KiB)
simplejson-3.20.2-cp37-cp37m-macosx_10_9_x86_64.whl (72.8KiB)
simplejson-3.20.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (123.8KiB)
simplejson-3.20.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (132.4KiB)
simplejson-3.20.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (121.0KiB)
simplejson-3.20.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (124.1KiB)
simplejson-3.20.2-cp37-cp37m-musllinux_1_2_aarch64.whl (126.1KiB)
simplejson-3.20.2-cp37-cp37m-musllinux_1_2_i686.whl (126.5KiB)
simplejson-3.20.2-cp37-cp37m-musllinux_1_2_ppc64le.whl (134.3KiB)
simplejson-3.20.2-cp37-cp37m-musllinux_1_2_x86_64.whl (127.6KiB)
simplejson-3.20.2-cp37-cp37m-win32.whl (72.2KiB)
simplejson-3.20.2-cp37-cp37m-win_amd64.whl (74.0KiB)
simplejson-3.20.2-cp38-cp38-macosx_10_9_universal2.whl (89.9KiB)
simplejson-3.20.2-cp38-cp38-macosx_10_9_x86_64.whl (73.0KiB)
simplejson-3.20.2-cp38-cp38-macosx_11_0_arm64.whl (73.3KiB)
simplejson-3.20.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (133.4KiB)
simplejson-3.20.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (142.6KiB)
simplejson-3.20.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (130.0KiB)
simplejson-3.20.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (133.6KiB)
simplejson-3.20.2-cp38-cp38-musllinux_1_2_aarch64.whl (134.1KiB)
simplejson-3.20.2-cp38-cp38-musllinux_1_2_i686.whl (135.0KiB)
simplejson-3.20.2-cp38-cp38-musllinux_1_2_ppc64le.whl (143.8KiB)
simplejson-3.20.2-cp38-cp38-musllinux_1_2_x86_64.whl (135.6KiB)
simplejson-3.20.2-cp38-cp38-win32.whl (72.5KiB)
simplejson-3.20.2-cp38-cp38-win_amd64.whl (74.2KiB)
simplejson-3.20.2-cp39-cp39-macosx_10_9_universal2.whl (91.8KiB)
simplejson-3.20.2-cp39-cp39-macosx_10_9_x86_64.whl (74.1KiB)
simplejson-3.20.2-cp39-cp39-macosx_11_0_arm64.whl (74.3KiB)
simplejson-3.20.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (135.0KiB)
simplejson-3.20.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (143.0KiB)
simplejson-3.20.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (130.9KiB)
simplejson-3.20.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (134.4KiB)
simplejson-3.20.2-cp39-cp39-musllinux_1_2_aarch64.whl (136.5KiB)
simplejson-3.20.2-cp39-cp39-musllinux_1_2_i686.whl (136.6KiB)
simplejson-3.20.2-cp39-cp39-musllinux_1_2_ppc64le.whl (144.7KiB)
simplejson-3.20.2-cp39-cp39-musllinux_1_2_x86_64.whl (137.5KiB)
simplejson-3.20.2-cp39-cp39-win32.whl (72.6KiB)
simplejson-3.20.2-cp39-cp39-win_amd64.whl (74.3KiB)
simplejson-3.20.2-py3-none-any.whl (56.0KiB)
simplejson-3.20.2.tar.gz (83.8KiB)
No dependencies