v = json.loads("{'test':'test'}")
Дамјан Георгиевски
gdamjan at gmail.com
Sun Jan 25 17:16:15 EST 2009
> raise ValueError(errmsg("Expecting property name", s, end))
> http://docs.python.org/library/json.html
> What am I doing wrong ?
try this
v = json.loads('{"test":"test"}')
JSON doesn't support single quotes, only double quotes.
--
дамјан ( http://softver.org.mk/damjan/ )
A: Because it reverses the logical flow of converstion.
Q: Why is top posting frowned upon?
More information about the Python-list
mailing list