On Jan 26, 5:12 am, gert <gert.cuyk...@gmail.com> wrote:
> raise ValueError(errmsg("Expecting property name", s, 
> end))http://docs.python.org/library/json.html
> What am I doing wrong ?

You use wrong quotes, it should be wrapped by double quotes not single
quotes. Read http://json.org/:

  "A string is a collection of zero or more Unicode characters,
wrapped in double quotes, ..."

>>> v = json.loads('{"test":"test"}')
>>> v
{u'test': u'test'}
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to