Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote:

> JSON expects double-quote marks, not single:
>     v = json.loads("{'test':'test'}")  fails
>     v = json.loads('{"test":"test"}')  succeeds
> 

You mean JSON expects a string with valid JSON?
Quelle surprise.

-- 
Duncan Booth http://kupuguy.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to