You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@keilw Commented
Thanks. It sounds like a bug. @m0mus, @lukasj I strongly suspect, these kinds of things also require another MR here, not just fixing it in EE4J, or do you have another opinion?
I found that when using the example in RFC7396 that I get different results.
Given the JSON document:
and the patch:
and the Json Patch code:
The output is:
but should be:
author
array contents have been replaced with"familyName": null
when the operation should have only removed thefamilyName
element.content
element has been removed. It should not have been touched.Source code here: https://github.com/readlearncode/Java-EE-8-Only-Whats-New/blob/master/Java-API-for-JSON-Processing-1-1-JSR374/src/main/java/com/readlearncode/mergepatch/MergePatchRFC7396.java
There are the Maven coords:
The text was updated successfully, but these errors were encountered: