diff options
Diffstat (limited to 'jsonpatch.py')
-rw-r--r-- | jsonpatch.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jsonpatch.py b/jsonpatch.py index 022972b..2b8678f 100644 --- a/jsonpatch.py +++ b/jsonpatch.py @@ -222,6 +222,10 @@ class JsonPatch(object): 'copy': CopyOperation, } + # Verify that the structure of the patch document + # is correct by retrieving each patch element. + # Much of the validation is done in the initializer + # though some is delayed until the patch is applied. for op in self.patch: self._get_operation(op) |