However, "\u0000" is.
>> JSON.parse("\u0000") Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data <anonymous> debugger eval code:1
\u0000 works fine with firefox with the proper syntax
JSON.parse(`"\\u0000"`) "\u0000"
printf '{"null":"\u0000"}' | jq { "null": "\u0000" }
of course! I forgot to quote those quotes! (facepalm)
that works. and uses a single byte too.
TIL.