Skip to main content

Extendable json encode/decode library.

Project description

Documentation Status PyPI - Downloads!--None.svg?style=social

Welcome to superjson Documentation


  1. Support for date, datetime, set, OrderedDict, deque, that the original json module can not serialize.

  2. Easy to extend to support any custom data type, SEE HOW.

  3. Allow // double slash started comments, # Pound key started comments style comment in json file (Good for human/machine readable config file).

  4. Use .gz for file extension, data will be automatically compressed.

  5. Atomic Write is ensured, operation of overwriting an existing json file is atomic.

Click HERE for full documentation.


superjson is released on PyPI, so all you need is:

$ pip install superjson

To upgrade to latest version:

$ pip install --upgrade superjson

Project details

Download files

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

Source Distribution

superjson-1.0.2.tar.gz (27.1 kB view hashes)

Uploaded source

Built Distribution

superjson-1.0.2-py2.py3-none-any.whl (30.9 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page