Skip to content

Python JSONEncoder support for UUID and date/datetime objects

License

Notifications You must be signed in to change notification settings

adeadman/multijson

Repository files navigation

MultiJSON

A modular extension to Python's JSONEncoder that allows UUID, date/datetime and Decimal objects to be serialised as JSON.

UUIDs are serialised as hyphen-separated hex representations by calling str().

Dates and Datetimes are serialised in ISO8601 format using strftime.

Decimals are serialised using their string representation with str()

Contributing

Contributions welcome.

About

Python JSONEncoder support for UUID and date/datetime objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published