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
Built Distribution
File details
Details for the file superjson-1.0.2.tar.gz
.
File metadata
- Download URL: superjson-1.0.2.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24cfe20d419ec4e6be4487831eec9d762a9fb3b7b4a5a1c32a31a14f99996e26 |
|
MD5 | 71456ac7274726ad1a23b6c2dcc751c9 |
|
BLAKE2b-256 | 78ab1f3dd362e369c7cc99cd5e88d3c77814b38f42e322f91aa9e756eb7fe3b4 |
File details
Details for the file superjson-1.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: superjson-1.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b93fb43a89187a8ce777c7ffbdaadcb6ecda16bf024e3518248642e5875d940 |
|
MD5 | b8a989d819e53da4f6f34b4f0285b763 |
|
BLAKE2b-256 | 7703682a205df805bc6de1a79a37709deb9f4a41552803a20eddf8927a6741d7 |