diff options
Diffstat (limited to 'jsonpatch.py')
-rw-r--r-- | jsonpatch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpatch.py b/jsonpatch.py index a72fcea..5454f56 100644 --- a/jsonpatch.py +++ b/jsonpatch.py @@ -825,7 +825,7 @@ class DiffBuilder(object): isinstance(dst, MutableSequence): self._compare_lists(_path_join(path, key), src, dst) - elif src == dst and type(src) == type(dst): + elif json.dumps(src) == json.dumps(dst): return else: |