I have 2 JSONArray as responses from 2 HTTP requests. I need to concat both JSONArray responses into 1 array. There is a common field in both array "UniqueId". To ensure validity of data I need to put the values of 2nd array into the first but but comparing the UniqueId
so i.e I have Array1 & Array2 I need to find index of JSONObject with UniqueId == "2232" in Array1 and put to it the values of JSONObject with UniqueId == "2232" in Array2.
Is there any methods to find to index in a JSONArray by value of a certain field?