-
Notifications
You must be signed in to change notification settings - Fork 63
Allow pars escaped surrogate pairs #32
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
Comments
I can make a clean pull request. The diff is just for inspiration how to solve it. |
Could you please make a pull request? Thanks. |
@creationix Thanks for merge #33. When we can expect the new version? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Surrogate pairs are parsed as two 16bit chars instead of one 32bit char.
For example this Json contains two 32bit emojis:
[ { "id" : "1", "message" : "\uD83D\uDE0B\uD83C\uDF70" } ]
We'r using java faster xml lib on one side FasterXML/jackson-core#223 and nodejs jsonparse on the other side.
There is a diff with fix:
diff.txt
The text was updated successfully, but these errors were encountered: