I have the following problem. Using Python 2.7, I have a JSON and I have to find all occurrences of key "workers".
the value is always a list of integers
workers : [22,14,523,...]
and I have to compare them with some other list of integers.
ID = [14,22,26,32,...]
in case in workers list one number is missing from ID list that number in workers has to be removed.
I hope I have made this clear enough.
The problem is this is a nested JSON with different levels.
Any suggestions ?
Thank you