You can use jsondiff
from jsondiff import diff
diff(json1, json2)
… assuming you have json1 and json2 loaded with the json entries from your example (and by the way, you have a missing comma after the ‘sex’ entry).
You can use jsondiff
from jsondiff import diff
diff(json1, json2)
… assuming you have json1 and json2 loaded with the json entries from your example (and by the way, you have a missing comma after the ‘sex’ entry).