esnme/ultrajson — Issue #26: ujson.dumps eats \x00 characters
Author: MrJoes
Created: 2011-12-14 08:57:11+00:00
State: open

Here's simple test case to reproduce:

>>> simplejson.dumps(u" \u0000\r\n ")
'" \\u0000\\r\\n "'
>>> ujson.dumps(u" \u0000\r\n ")
'" "'