[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-09-07 Thread Adrián Chaves Fernández
Adrián Chaves Fernández added the comment: I’ll veave how to address this up to you. Thanks a lot for finding out that the cause was the BOM, I’ve just removed it from the file and now everything works as expected. -- ___ Python tracker <h

[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-09-07 Thread Adrián Chaves Fernández
New submission from Adrián Chaves Fernández: 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 http://jsonlint.com/ and it rep