Open
Description
The patch { "op": "remove", "path": "" }
is currently undefined.
I believe it should have the same result as { "op": "add", "path": "", "value": null }
. As a side-result, it would also validate the definition of { "op": "replace", "path": "", "value": null }
, which states:
This operation is functionally identical to a "remove" operation for
a value, followed immediately by an "add" operation at the same
location with the replacement value.
In any case, it would benefit from being specified. Some implementations currently throw, and that is unfortunate, as it breaks the specification as quoted above..
Metadata
Metadata
Assignees
Labels
No labels