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.
superjson
is released on PyPI, so all you need is:
$ pip install superjson
To upgrade to latest version:
$ pip install --upgrade superjson