is there any elegant way to make Python JSON encoder support datetime? some 3rd party module or easy hack?
I am using tornado\'s database wrapper to fetch some rows
Convert the datetime type into a unix timestamp, then encode the contents into a json.
e.g. : http://codepad.org/k3qF09Kr