kjson

A JSON encoder and decoder with support for Python types.


License
ISC
Install
pip install kjson==0.1.2

Documentation

kjson

Extension of Python's JSON module and has the same interface.

It supports:

  • datetime.date
  • datetime.datetime
  • datetime.time
  • datetime.timedelta
  • decimal.Decimal
  • uuid.UUID
  • anything derived from Django's Promise object (encoded to string)