proper guarding and handling of noncharacters in json strings. more tests required

This commit is contained in:
alisdair sullivan 2011-07-27 06:52:16 -07:00
parent 653205501c
commit 80e9381b42
5 changed files with 107 additions and 5 deletions

View file

@ -0,0 +1,4 @@
{name, "nullbyte replaced"}.
{jsx, [{string,<<16#fffd/utf8>>},end_json]}.
{json, "nullbyte_replaced.json"}.
{jsx_flags, [loose_unicode]}.