Remix.run Logo
kstenerud 2 hours ago

"a\u0000b" ("a" followed by a vertical tabulation control code) is also a perfectly valid and in-bounds BONJSON string. What BONJSON rejects is any invalid UTF-8 sequences, which shouldn't even be present in the data to begin with.

wizzwizz4 9 minutes ago | parent [-]

You're thinking of "a\u000b". "a\u0000b" is the three-character string also written "a\x00b".