We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tell us about your environment
Please show your use case / code slices / code link that could reproduce the issue
assert.equal(JSON.stringify('\x0B', null, 4), '"\\u000b"'); // Success assert.equal(require('comment-json').stringify('\x0B', null, 4), '"\\u000b"') // AssertionError: '"\x0B"' == '"\\u000b"'
What did you expect to happen?
All control characters should be escaped, according to jsonc-scanner/scanner.ts#171
Are you willing to submit a pull request to fix this bug?
No. Reverting commit aa234e5 can fix it.
The text was updated successfully, but these errors were encountered:
fixes kaelzhang#36: Control characters must be escaped
3f12562
No branches or pull requests
Tell us about your environment
Please show your use case / code slices / code link that could reproduce the issue
What did you expect to happen?
All control characters should be escaped, according to jsonc-scanner/scanner.ts#171
Are you willing to submit a pull request to fix this bug?
No. Reverting commit aa234e5 can fix it.
The text was updated successfully, but these errors were encountered: