Re: datetime.date is not json serializable

2016-02-19 Thread Tim Graham
3:02:48 AM UTC-5, elcaiaimar wrote: > > Hello, > > I'm having a problem when I try to convert a python dictionary into a json > dictionary (*json.dumps(results, ensure_ascii=False)*). > Everything is ok, but when there is a date as a valure of the dictionary I > get t

datetime.date is not json serializable

2016-02-19 Thread elcaiaimar
Hello, I'm having a problem when I try to convert a python dictionary into a json dictionary (*json.dumps(results, ensure_ascii=False)*). Everything is ok, but when there is a date as a valure of the dictionary I get this error: datetime.date is not json serializable. I don't k