JSONTestSuite icon indicating copy to clipboard operation
JSONTestSuite copied to clipboard

"\u0000" is in fact legal

Open nicowilliams opened this issue 6 years ago • 1 comments

From RFC7159:

Any character may be escaped. If the character is in the Basic Multilingual Plane (U+0000 through U+FFFF), then it may be represented as a six-character sequence: [...]

but parsers/test_ccan_json/json/_test/nst_files/n_223.json is an n_* test and contains "\u0000", which means it should be a y_* test, that is, expected to parse successfully.

nicowilliams avatar Apr 22 '19 20:04 nicowilliams

Agreed. This JSON file looks valid to me.

pineapplemachine avatar Aug 26 '19 12:08 pineapplemachine