Closed jlouis closed 10 years ago
The sequence <<0, 96>> which is a \0 followed by a backquote is not parsed correctly by transit-erlang. Here is the counterexample:
<<0, 96>>
13> jsx:encode(<<0, 96>>). <<"\"\\u0000`\"">> 14> jsx:encode(<<0, 96>>). <<"\"\\u0000`\"">> 15> jsx:decode(v(14)). <<0,96>> 16> transit:write(<<0, 96>>). <<"[\"~#'\",\"~\\u0000`\"]">> 17> transit:read(v(16)). {tagged_value,<<0>>,<<"`">>}
This now passes.
The sequence
<<0, 96>>
which is a \0 followed by a backquote is not parsed correctly by transit-erlang. Here is the counterexample: