Further to this thread: #44 (comment)
I've isolated a specific cause of this, which can be avoided in cjson through the 'all_unicode=True' option. Hopefully this will help with a solution.
Names such as "Abercrombie \x26 Fitch Co." cause this error in ujson:
j = json.decode(feed)
Traceback (most recent call last):
File "", line 1, in
ValueError: Unrecognized escape sequence when decoding 'string'
Hi - I would say a minimal test would be to try and parse this. The unicode issue seems to be what's breaking it.
Compare it with something like:
Is there any way to account for this similar to CJSON? I'd contribute myself, but my knowledge of C is weak to say the least.