⬅︎ Back to From Postgres to JSON strings
When I ran your sample on my db table I got; raise TypeError(repr(o) + " is not JSON serializable")TypeError: datetime.date(2014, 3, 24) is not JSON serializable
You need to take care of things like datetime.date. E.g. http://stackoverflow.com/a/27058505
Comment
When I ran your sample on my db table I got;
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: datetime.date(2014, 3, 24) is not JSON serializable
Replies
You need to take care of things like datetime.date.
E.g. http://stackoverflow.com/a/27058505