Skip to main content

Extendable json encode/decode library.

Project description

https://travis-ci.org/MacHu-GWU/superjson-project.svg?branch=master https://codecov.io/gh/MacHu-GWU/superjson-project/branch/master/graph/badge.svg https://img.shields.io/pypi/v/superjson.svg https://img.shields.io/pypi/l/superjson.svg https://img.shields.io/pypi/pyversions/superjson.svg 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, numpy.ndarray, that the original json module can not serialize.

  2. Easy to extend to support any custom data type.

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

  4. Provide a compress option to reduce the data size.

  5. Advance file I/O utility method can prevent overwrite, interruption, and provide auto compression by file extension.

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


Download files

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

Source Distribution

superjson-0.0.8.tar.gz (281.6 kB view hashes)

Uploaded Source

Built Distribution

superjson-0.0.8-py2-none-any.whl (298.7 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page