#Multilevel JSON diff in python
Explore tagged Tumblr posts
techhelpnotes · 3 years ago
Text
Multilevel JSON diff in python
Check out this python library jsondiff , that will help you to identify the diffs
import json import jsondiff json1 = json.loads(    {isDynamic: false, name: , value: SID:<sid>, description: instance,argsOrder: 1,isMultiSelect: false}) json2 = json.loads(    { name: , value: SID:<sid>,isDynamic: false, description: instance,argsOrder: 1,isMultiSelect: false}) res = jsondiff.diff(json1, json2) if res:    print(Diff found) else:    print(Same)
0 notes