-
Notifications
You must be signed in to change notification settings - Fork 185
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
jsonpatch.Equal : strange behavior on handling literal unicode string equality #172
Comments
This also causes the "test" operation of JSON patches to fail whenever the document and the path body have different representations of the same content:
|
evanphx
added a commit
that referenced
this issue
Jan 12, 2024
Compare strings after decoding them to handle unicode correctly. Fixes #172
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Json string "λJohn" is not equal to "\u03BBJohn" for the function jsonpatch.Equal
I hope to not misinterpret rfc which is stating:
Expected behavior
Equality
Step to reproduce
output:
Test with other implementation
Output:
The text was updated successfully, but these errors were encountered: