JSON encoders module.
as_date
Return the RFC3339 UTC string representation of the given date and time.
datetime.date
TypeError
o
as_object
Return a JSON serializable type for o.
object
AttributeError