Extendable json encode/decode library.


License
MIT
Install
pip install superjson==0.0.10

Documentation

Documentation Status

PyPI - Downloads

https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social

Welcome to superjson Documentation

Features:

  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.

Install

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

$ pip install superjson

To upgrade to latest version:

$ pip install --upgrade superjson