JSONTestSuite icon indicating copy to clipboard operation
JSONTestSuite copied to clipboard

test_parsing: Exercise an octal escape

Open smcv opened this issue 1 year ago • 0 comments

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: https://github.com/nst/JSONTestSuite/issues/136

smcv avatar Oct 15 '24 10:10 smcv