So, I had someone send me a JSON dump of some data, but they obviously did it lazily (by printing) in python so that the (simplified) data is:
{u'x': u'somevalue', u'y': u'someothervalue'}
instead of valid JSON:
{"x": "somevalue", "y": "someothervalue"}
Since it's not valid JSON, json.loads() naturally fails to parse it.
Does Python include any modules to parse its own output like this? I actually think parsing it myself might be faster than trying to explain to this guy what he did wrong and how to fix it.