Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"\u0000" is in fact legal #94

Open
nicowilliams opened this issue Apr 22, 2019 · 1 comment
Open

"\u0000" is in fact legal #94

nicowilliams opened this issue Apr 22, 2019 · 1 comment

Comments

@nicowilliams
Copy link

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.

@pineapplemachine
Copy link

Agreed. This JSON file looks valid to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants