On Jan 25, 11:16 pm, Дамјан Георгиевски <gdam...@gmail.com> wrote: > > 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.
the funny part is when you print(v) you get {'test': 'test'} Single quotes works in every browser that support json so i recommended python should support it too, besides it looks much cleaner {'test': 'test'} {"test": "test"} It can not be that hard to support both notation can it ? -- http://mail.python.org/mailman/listinfo/python-list