On Thu, Dec 17, 2009 at 05:57:23PM +0000, Graham Higgins wrote:
> Watch out for datetime objects, they can't be directly serialised by  
> simplejson's dumps().

I recall some fun times being had by all when the json dumper generated

  {title: "something irrelevant", date: 2004-01-17}

which the browser nicely and silently evaluated to

  {title: "something irrelevant", date: 1986}

Marius Gedminas
-- 
If the code and the comments disagree, then both are probably wrong.
                -- Norm Schryer

Attachment: signature.asc
Description: Digital signature

Reply via email to