This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Gallaecio
Recipients Gallaecio
Date 2013-09-07.12:33:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Calling json.load() with a file object or json.loads() with a string containing the attached JSON code raises an exception with the message 'No JSON object could be decoded'.

I’ve pasted the JSON code into and it reports it as valid JSON.

This JSON code comes from the 0 A.D. game (, and the game successfully parses it as well (with whatever they use for that). Yet it fails with json.load() and json.loads().

Note also that the rest of the JSON files of the same game folder ( do work with json.load() and json.loads().
Date User Action Args
2013-09-07 12:33:15Gallaeciosetrecipients: + Gallaecio
2013-09-07 12:33:15Gallaeciosetmessageid: <>
2013-09-07 12:33:15Gallaeciolinkissue18958 messages
2013-09-07 12:33:14Gallaeciocreate