JSON Input
Data 0: {"eid":12,"gender":"1","age":1,"pass":["2","1"]}
Data 1: {"eid": 11,"gender":"0","age":1,"pass":["1","3"]}
Data 2: {"eid":20,"gender":"1","age":1,"pass":["2","3"]}
How can we create a new array to store IDs based on the pass numbers?
For example, in a loop display:
Pass ID => 2 .... EID => 12, 20
2 => ["12","20"]
1 => [12, 11]
3 => [11,20]