simplejson can't load some valid javscript/JSON

Bug #164754 reported by hollerith
2
Affects Status Importance Assigned to Milestone
simplejson (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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

Revision history for this message
goto (gotolaunchpad) wrote :

nice md5 hash

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10?

Changed in simplejson:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in simplejson:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.