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 cc0534a commit 8d46c89Copy full SHA for 8d46c89
json_merge_patch/cli.py
@@ -25,8 +25,8 @@ def merge(files, output):
25
26
def create_patch(original, target, output):
27
with open(original) as original_file, open(target) as target_file:
28
- original_json = json.load(original_file, object_pairs_hook=OrderedDict)
29
- target_json = json.load(target_file, object_pairs_hook=OrderedDict)
+ original_json = json.load(original_file)
+ target_json = json.load(target_file)
30
result = json_merge_patch.create_patch(original_json, target_json)
31
32
patch = json.dumps(result, indent=4)
json_merge_patch/tests.py
@@ -1,5 +1,5 @@
1
import unittest
2
-import merge
+import lib as merge
3
4
fixtures = [
5
[{
0 commit comments