An alternate jsonpickle handler for datetime using ISO-8601 formatted strings.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.rst

https://travis-ci.org/fictorial/jsonpickle-isodatetimehandler.svg?branch=master https://coveralls.io/repos/github/fictorial/jsonpickle-isodatetimehandler/badge.svg?branch=master

An alternate jsonpickle handler for datetime

This jsonpickle handler serializes datetime.datetime objects as ISO-8601 formatted strings. Such strings may be treated as a DATETIME type in a RDBMS such as SQLite allowing date-related query clauses to work with serialized datetime objects directly.

Installation

pip install isodatetimehandler

Usage

import isodatetimehandler

Then use jsonpickle as you normally would.