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

test_parsing: Exercise an octal escape #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

smcv
Copy link

@smcv smcv commented Oct 15, 2024

In standardized JSON, this is an error. In JavaScript, it's a deprecated alternate spelling for "\u000a" (012 octal = 0x000a hex), and some parsers like the one in json-glib (when not in strict mode) accept this as an extension beyond standard JSON.

Resolves: #136

In standardized JSON, this is an error. In JavaScript, it's a deprecated
alternate spelling for `"\u000a"` (012 octal = 0x000a hex), and some
parsers like the one in json-glib (when not in strict mode) accept this
as an extension beyond standard JSON.

Resolves: nst#136
Signed-off-by: Simon McVittie <[email protected]>
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

Successfully merging this pull request may close these issues.

octal escapes not tested
1 participant