v = json.loads("{'test':'test'}")

Tim Roberts timr at probo.com
Mon Jan 26 00:00:37 EST 2009


Andreas Waldenburger <geekmail at usenot.de> wrote:
> 
>But as gert says, the standard is "broken" by many many browsers
>already 

We're debating relatively picky semantic point, so I won't feel bad by
being picky.

Browsers have nothing to do with the JSON standard.  JSON is not
Javascript, nor is it a part of Javascript.  JSON is a data exchange
standard, which happens to be readable to Javascript parsers.  A valid JSON
expression happens to be a valid Javascript expression, but not vice versa.

That's just the way it is.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list