Applying JSON patch creates parent object #3134
Labels
confirmed
kind: bug
release item: 🐛 bug fix
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
Running the following function
results in creating
b
andc
parent objects:while according to RFC6902 it is an error:
"Because this operation is designed to add to existing objects and
arrays, its target location will often not exist. Although the
pointer's error handling algorithm will thus be invoked, this
specification defines the error handling behavior for "add" pointers
to ignore that error and add the value as specified.
However, the object itself or an array containing it does need to
exist, and it remains an error for that not to be the case. "
BTW, great library, thank you very much!
The text was updated successfully, but these errors were encountered: