How can we diff two very big and nested Json while ignore some attributes in it

Posted by repel_humans@reddit | learnprogramming | View on Reddit | 12 comments

so I am working a task where we have very nested and complex json about an entities configuration details . (100s of attributes with combination of dict,list)

now i need to compare two similar json files (downloaded from non-sync servers)

we need to perform a diff and only update if there are diffrences .

problem is, there are certain attributes at different depths of json that needs to be ignored while performing diff .

that is if ignored attributes have changes we should not update the configurations

I am use deepDiff library for finding Diff true or false .

can someone help around this

python