We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b44e7a2 commit 3bb3351Copy full SHA for 3bb3351
jsonpatch.py
@@ -222,6 +222,10 @@ def __init__(self, patch):
222
'copy': CopyOperation,
223
}
224
225
+ # Verify that the structure of the patch document
226
+ # is correct by retrieving each patch element.
227
+ # Much of the validation is done in the initializer
228
+ # though some is delayed until the patch is applied.
229
for op in self.patch:
230
self._get_operation(op)
231
0 commit comments