when I run the follow case with python-json-patch, it failed. Detail in stefankoegl/python-json-patch#111 (comment). But when I change the add operation to replace, it succeeded.
|
{ "comment": "replace array document with object document?", |
|
"doc": [], |
|
"patch": [{"op": "add", "path": "", "value": {}}], |
|
"expected": {} }, |
when I run the follow case with python-json-patch, it failed. Detail in stefankoegl/python-json-patch#111 (comment). But when I change the
addoperation toreplace, it succeeded.json-patch-tests/tests.json
Lines 63 to 66 in ea3af85