Hi,
I am trying to encode maps with emoji surrogate pairs.
But when I am attempting:
jsx:encode(#{emoji => <<"\uXXXX\uXXXX">>}).
% The result is
<<"{\"emoji\":\"\\uXXXX\\uXXXX\"}">>
In which way should I construct the map so that "\uXXXX are not escaped again (like "\\uXXXX")?
Hi,
I am trying to encode maps with emoji surrogate pairs.
But when I am attempting:
In which way should I construct the map so that
"\uXXXXare not escaped again (like"\\uXXXX")?