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

JSON backslash string decoding/encoding not correct #453

Closed
olofhagsand opened this issue Sep 11, 2023 · 0 comments
Closed

JSON backslash string decoding/encoding not correct #453

olofhagsand opened this issue Sep 11, 2023 · 0 comments

Comments

@olofhagsand
Copy link
Member

JSON string encoding as defined in RFC8529 / ECMA 404 is not correct/complete in Clixon.
More specifically, escaping using backslash \ is made unconditionally in current versions
For example, decoding JSON string: "\n" becomes "n", which is not correct.

olofhagsand added a commit that referenced this issue Sep 19, 2023
Added unicode BMP support for JSON strings
Test: encoding/decoding tests for UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant