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

solodus is not quoted. #113

Open
ldn-softdev opened this issue Jul 24, 2018 · 1 comment
Open

solodus is not quoted. #113

ldn-softdev opened this issue Jul 24, 2018 · 1 comment

Comments

@ldn-softdev
Copy link

Hi, a solidus char: '/' in JSON, as per:
http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf
is required to be escaped too, however your validation tool let it pass unescaped.

@c22
Copy link

c22 commented Sep 13, 2018

No, solidus does not need to be escaped. As per the document you linked:

the code points that must be escaped: quotation mark (U+0022), reverse solidus (U+005C), and the control characters U+0000 to U+001F

Solidus does not fall into this category. You CAN escape a solidus but it is not required.

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