Example:
{"mydata": ["apple", "orange","pear", "lemon"]}
With the following operation:
[{"op":"remove","path":"/mydata/0"},{"op":"remove","path":"/mydata/2"}]
The result is:
{ "mydata": ["orange","pear"] }
Rather than the expected:
{ "mydata": ["orange", "lemon"] }
See here:
java-json-tools/json-patch#11 (comment)
Related thread: java-json-tools/json-patch#11