from the below Json data I need to fetch values corresponding to AAAA and BBBB and assign it to variables i.e. List_AAAA = [9090, 9091] and List_BBBB = ['MONACO' , 'NICE']
{"id": 1234,"name": "xxxx","description": "XXXXY","descriptionFormat": "XZXZ","children": [],"customFields": [ {"fieldId": 1111,"name": "dert","values": [ {"id": 45,"name": "est","type": "erence" } ],"type": "alue" }, {"fieldId": 1114,"name": "name_pe","values": [ {"id": 423255,"name": "CN","type": "eference","referenceData": {"ropagation": "ATE" },"euse": false } ],"type": "alue" }, {"fieldId": 1111111,"name": "Cases","values": [ [ {"fieldId": 111121,"name": "Case","values": [ {"AAAA": 9090,"BBBB": "MONACO","ype": "eference","referenceData": {"ropagation": "ATE" },"euse": false } ],"ames": [],"type": "alue" } ], [ {"fieldId": 111122,"name": "Case","values": [ {"AAAA": 9091,"BBBB": "NICE","ype": "eference","ata": {"ropagation": "ATE" },"euse": false } ],"ames": [],"ype": "alue" } ],
It would also be great if someone who answers explains how it actually works. As I am not getting the logic behind how to parse through it