Averroes / simplejson

MIT License
0 stars 0 forks source link

Parsing an array with trailing comma with speedups causes an unhelpful error message #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Gets raise ValueError("No JSON object could be decoded") instead of

File "/Users/bob/src/simplejson/simplejson/decoder.py", line 245, in JSONArray
    raise ValueError(errmsg("Expecting object", s, end))
ValueError: Expecting object: line 1 column 1 (char 1)

Original issue reported on code.google.com by bob.ippo...@gmail.com on 3 Apr 2009 at 1:12

GoogleCodeExporter commented 9 years ago
r182

Original comment by bob.ippo...@gmail.com on 3 Apr 2009 at 1:24