Public bug reported:

simplejson rejects

{access_token: "596A96CC7BF9108CD896F33C44AEDC8A", user_id: 20666}

but accepts quoted keys

{"access_token": "596A96CC7BF9108CD896F33C44AEDC8A", "user_id": 20666}

    result = simplejson.loads(response.read())
  File "/var/lib/python-support/python2.5/simplejson/__init__.py", line 262, in 
loads
    return _default_decoder.decode(s)
  File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 251, in 
decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 270, in 
raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

** Affects: simplejson (Ubuntu)
     Importance: Undecided
         Status: New

-- 
simplejson can't load some valid javscript/JSON
https://bugs.launchpad.net/bugs/164754
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to