⬅︎ Back to From Postgres to JSON strings
You need to take care of things like datetime.date. E.g. http://stackoverflow.com/a/27058505
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
Comment
You need to take care of things like datetime.date.
E.g. http://stackoverflow.com/a/27058505
Parent 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