Skip to main content

Simple, fast, extensible JSON encoder/decoder for Python

Project description

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.

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.19.3.tar.gz (85.2 kB view hashes)

Uploaded Source

Built Distributions

simplejson-3.19.3-py3-none-any.whl (57.0 kB view hashes)

Uploaded Python 3

simplejson-3.19.3-cp313-cp313-win_amd64.whl (75.6 kB view hashes)

Uploaded CPython 3.13 Windows x86-64

simplejson-3.19.3-cp313-cp313-win32.whl (74.0 kB view hashes)

Uploaded CPython 3.13 Windows x86

simplejson-3.19.3-cp313-cp313-musllinux_1_2_x86_64.whl (154.3 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.2+ x86-64

simplejson-3.19.3-cp313-cp313-musllinux_1_2_ppc64le.whl (158.9 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.2+ ppc64le

simplejson-3.19.3-cp313-cp313-musllinux_1_2_i686.whl (151.8 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.2+ i686

simplejson-3.19.3-cp313-cp313-musllinux_1_2_aarch64.whl (150.0 kB view hashes)

Uploaded CPython 3.13 musllinux: musl 1.2+ ARM64

simplejson-3.19.3-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (158.4 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ppc64le

simplejson-3.19.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (150.1 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARM64

simplejson-3.19.3-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (152.2 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

simplejson-3.19.3-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (148.5 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

simplejson-3.19.3-cp313-cp313-macosx_11_0_arm64.whl (75.0 kB view hashes)

Uploaded CPython 3.13 macOS 11.0+ ARM64

simplejson-3.19.3-cp313-cp313-macosx_10_13_x86_64.whl (75.3 kB view hashes)

Uploaded CPython 3.13 macOS 10.13+ x86-64

simplejson-3.19.3-cp313-cp313-macosx_10_13_universal2.whl (92.9 kB view hashes)

Uploaded CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)

simplejson-3.19.3-cp312-cp312-win_amd64.whl (75.6 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

simplejson-3.19.3-cp312-cp312-win32.whl (74.0 kB view hashes)

Uploaded CPython 3.12 Windows x86

simplejson-3.19.3-cp312-cp312-musllinux_1_2_x86_64.whl (154.2 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

simplejson-3.19.3-cp312-cp312-musllinux_1_2_ppc64le.whl (158.8 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ ppc64le

simplejson-3.19.3-cp312-cp312-musllinux_1_2_i686.whl (151.7 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ i686

simplejson-3.19.3-cp312-cp312-musllinux_1_2_aarch64.whl (149.8 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ ARM64

simplejson-3.19.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (158.3 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ppc64le

simplejson-3.19.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (150.1 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

simplejson-3.19.3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (152.2 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

simplejson-3.19.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (148.5 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

simplejson-3.19.3-cp312-cp312-macosx_11_0_arm64.whl (75.0 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

simplejson-3.19.3-cp312-cp312-macosx_10_9_x86_64.whl (75.3 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

simplejson-3.19.3-cp312-cp312-macosx_10_9_universal2.whl (92.9 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

simplejson-3.19.3-cp311-cp311-win_amd64.whl (75.5 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

simplejson-3.19.3-cp311-cp311-win32.whl (73.9 kB view hashes)

Uploaded CPython 3.11 Windows x86

simplejson-3.19.3-cp311-cp311-musllinux_1_2_x86_64.whl (148.1 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

simplejson-3.19.3-cp311-cp311-musllinux_1_2_ppc64le.whl (155.0 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ ppc64le

simplejson-3.19.3-cp311-cp311-musllinux_1_2_i686.whl (146.6 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ i686

simplejson-3.19.3-cp311-cp311-musllinux_1_2_aarch64.whl (144.5 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ ARM64

simplejson-3.19.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (153.3 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ppc64le

simplejson-3.19.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (143.6 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

simplejson-3.19.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

simplejson-3.19.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (141.5 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

simplejson-3.19.3-cp311-cp311-macosx_11_0_arm64.whl (74.6 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

simplejson-3.19.3-cp311-cp311-macosx_10_9_x86_64.whl (74.8 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

simplejson-3.19.3-cp311-cp311-macosx_10_9_universal2.whl (91.9 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

simplejson-3.19.3-cp310-cp310-win_amd64.whl (75.6 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

simplejson-3.19.3-cp310-cp310-win32.whl (74.1 kB view hashes)

Uploaded CPython 3.10 Windows x86

simplejson-3.19.3-cp310-cp310-musllinux_1_2_x86_64.whl (141.3 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

simplejson-3.19.3-cp310-cp310-musllinux_1_2_ppc64le.whl (148.6 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ ppc64le

simplejson-3.19.3-cp310-cp310-musllinux_1_2_i686.whl (140.3 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ i686

simplejson-3.19.3-cp310-cp310-musllinux_1_2_aarch64.whl (140.0 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ ARM64

simplejson-3.19.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (146.7 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ppc64le

simplejson-3.19.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (138.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

simplejson-3.19.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (137.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

simplejson-3.19.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (134.4 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

simplejson-3.19.3-cp310-cp310-macosx_11_0_arm64.whl (75.6 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

simplejson-3.19.3-cp310-cp310-macosx_10_9_x86_64.whl (75.5 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

simplejson-3.19.3-cp310-cp310-macosx_10_9_universal2.whl (93.7 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

simplejson-3.19.3-cp39-cp39-win_amd64.whl (75.6 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

simplejson-3.19.3-cp39-cp39-win32.whl (74.1 kB view hashes)

Uploaded CPython 3.9 Windows x86

simplejson-3.19.3-cp39-cp39-musllinux_1_2_x86_64.whl (140.7 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

simplejson-3.19.3-cp39-cp39-musllinux_1_2_ppc64le.whl (148.1 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ ppc64le

simplejson-3.19.3-cp39-cp39-musllinux_1_2_i686.whl (139.7 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ i686

simplejson-3.19.3-cp39-cp39-musllinux_1_2_aarch64.whl (139.5 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ ARM64

simplejson-3.19.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (146.3 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ppc64le

simplejson-3.19.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (138.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

simplejson-3.19.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (137.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

simplejson-3.19.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (133.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

simplejson-3.19.3-cp39-cp39-macosx_11_0_arm64.whl (75.6 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

simplejson-3.19.3-cp39-cp39-macosx_10_9_x86_64.whl (75.5 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

simplejson-3.19.3-cp39-cp39-macosx_10_9_universal2.whl (93.6 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

simplejson-3.19.3-cp38-cp38-win_amd64.whl (75.6 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

simplejson-3.19.3-cp38-cp38-win32.whl (74.0 kB view hashes)

Uploaded CPython 3.8 Windows x86

simplejson-3.19.3-cp38-cp38-musllinux_1_2_x86_64.whl (138.7 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.2+ x86-64

simplejson-3.19.3-cp38-cp38-musllinux_1_2_ppc64le.whl (147.1 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.2+ ppc64le

simplejson-3.19.3-cp38-cp38-musllinux_1_2_i686.whl (138.2 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.2+ i686

simplejson-3.19.3-cp38-cp38-musllinux_1_2_aarch64.whl (136.9 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.2+ ARM64

simplejson-3.19.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (146.0 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ppc64le

simplejson-3.19.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (136.4 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

simplejson-3.19.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (136.6 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

simplejson-3.19.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (133.0 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

simplejson-3.19.3-cp38-cp38-macosx_11_0_arm64.whl (74.6 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

simplejson-3.19.3-cp38-cp38-macosx_10_9_x86_64.whl (74.5 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

simplejson-3.19.3-cp38-cp38-macosx_10_9_universal2.whl (91.7 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)

simplejson-3.19.3-cp37-cp37m-win_amd64.whl (75.3 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

simplejson-3.19.3-cp37-cp37m-win32.whl (73.7 kB view hashes)

Uploaded CPython 3.7m Windows x86

simplejson-3.19.3-cp37-cp37m-musllinux_1_2_x86_64.whl (130.6 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.2+ x86-64

simplejson-3.19.3-cp37-cp37m-musllinux_1_2_ppc64le.whl (137.3 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.2+ ppc64le

simplejson-3.19.3-cp37-cp37m-musllinux_1_2_i686.whl (129.5 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.2+ i686

simplejson-3.19.3-cp37-cp37m-musllinux_1_2_aarch64.whl (128.7 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.2+ ARM64

simplejson-3.19.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (135.4 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ppc64le

simplejson-3.19.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (126.5 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

simplejson-3.19.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (127.0 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

simplejson-3.19.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (123.8 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

simplejson-3.19.3-cp37-cp37m-macosx_10_9_x86_64.whl (74.3 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

simplejson-3.19.3-cp36-cp36m-win_amd64.whl (76.8 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

simplejson-3.19.3-cp36-cp36m-win32.whl (74.6 kB view hashes)

Uploaded CPython 3.6m Windows x86

simplejson-3.19.3-cp36-cp36m-musllinux_1_2_x86_64.whl (129.5 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.2+ x86-64

simplejson-3.19.3-cp36-cp36m-musllinux_1_2_ppc64le.whl (136.3 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.2+ ppc64le

simplejson-3.19.3-cp36-cp36m-musllinux_1_2_i686.whl (128.5 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.2+ i686

simplejson-3.19.3-cp36-cp36m-musllinux_1_2_aarch64.whl (127.7 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.2+ ARM64

simplejson-3.19.3-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (134.5 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ppc64le

simplejson-3.19.3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (125.4 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

simplejson-3.19.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (125.9 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

simplejson-3.19.3-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (122.8 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

simplejson-3.19.3-cp36-cp36m-macosx_10_9_x86_64.whl (73.9 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

simplejson-3.19.3-cp27-cp27mu-manylinux2010_x86_64.whl (134.1 kB view hashes)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

simplejson-3.19.3-cp27-cp27mu-manylinux2010_i686.whl (132.7 kB view hashes)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ i686

simplejson-3.19.3-cp27-cp27mu-manylinux1_x86_64.whl (134.1 kB view hashes)

Uploaded CPython 2.7mu

simplejson-3.19.3-cp27-cp27mu-manylinux1_i686.whl (132.7 kB view hashes)

Uploaded CPython 2.7mu

simplejson-3.19.3-cp27-cp27m-manylinux2010_x86_64.whl (132.7 kB view hashes)

Uploaded CPython 2.7m manylinux: glibc 2.12+ x86-64

simplejson-3.19.3-cp27-cp27m-manylinux2010_i686.whl (131.3 kB view hashes)

Uploaded CPython 2.7m manylinux: glibc 2.12+ i686

simplejson-3.19.3-cp27-cp27m-manylinux1_x86_64.whl (132.7 kB view hashes)

Uploaded CPython 2.7m

simplejson-3.19.3-cp27-cp27m-manylinux1_i686.whl (131.3 kB view hashes)

Uploaded CPython 2.7m

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