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

Richard Brodie R.Brodie at rl.ac.uk
Tue Jan 27 12:11:59 EST 2009


"Steven D'Aprano" <steve at REMOVE-THIS-cybersource.com.au> wrote in message 
news:018d0300$0$20629$c3e8da3 at news.astraweb.com...

> Supposedly "every browser" (what, all of them?) already support a de
> facto extension to the JSON standard, allowing more flexible quoting.

That's a consequence of JSON being a subset of Javascript syntax,
so you can just call eval() on it, if you're willing. When you use a
library, it's pot luck whether it accepts JSON-soup or not. 





More information about the Python-list mailing list