[BangPypers] How should I do it?
noufal at gmail.com
Fri Jan 15 12:07:58 CET 2010
On Fri, Jan 15, 2010 at 4:13 PM, Anand Chitipothu <anandology at gmail.com>wrote:
> On Fri, Jan 15, 2010 at 4:00 PM, Baishampayan Ghose <b.ghose at gmail.com>
> >> It is a clever hack, taking advantage of the nature of the data. But
> >> it is far more faster than the other approaches posted here.
> > I thought eval was evil :)
> The date looks like valid json. You can use simplejson.loads instead of
Don't the '=>' characters mess things up?
One of the nice things about the repr of Python objects is that they're
almost valid JSON. The same can't be said for PHP though.
More information about the BangPypers