allow interchange of nullbyte in strings

This commit is contained in:
alisdair sullivan 2011-12-01 06:32:56 -08:00
parent 1cfd565458
commit 6dfaa61bfa
7 changed files with 1 additions and 33 deletions

View file

@ -1 +0,0 @@
"\u0000"

View file

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

View file

@ -1 +0,0 @@
"\u0000"

View file

@ -1,3 +0,0 @@
{name, "nullbyte forbidden"}.
{jsx, {error, badjson}}.
{json, "nullbyte_forbidden.json"}.

View file

@ -1 +0,0 @@
"\u0000"

View file

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