Extendable json encode/decode library.
Project description
Welcome to superjson Documentation
Features:
Support for date, datetime, set, OrderedDict, deque, that the original json module can not serialize.
Easy to extend to support any custom data type, SEE HOW.
Allow // double slash started comments, # Pound key started comments style comment in json file (Good for human/machine readable config file).
Use .gz for file extension, data will be automatically compressed.
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
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
superjson-1.0.2.tar.gz
(27.1 kB
view hashes)
Built Distribution
Close
Hashes for superjson-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b93fb43a89187a8ce777c7ffbdaadcb6ecda16bf024e3518248642e5875d940 |
|
MD5 | b8a989d819e53da4f6f34b4f0285b763 |
|
BLAKE2b-256 | 7703682a205df805bc6de1a79a37709deb9f4a41552803a20eddf8927a6741d7 |