AM sending a request using android volley and get a response like this
public void onResponse(JSONObject response
try {
String responsedata = response.getString("data");
Log.i("test",responsedata);
} catch (JSONException e) {
e.printStackTrace();
}
}
The above log prints
[{"id":1,"identifier":"TYam Plant","header_val":"tyamplant"},
{"id":2,"identifier":"Touron Plant","header_val":"toroun"}
]
Now i would like to loop through these and extract an array of individual properties that is
id, identifier, header_val
How do i go about this. Am still new to java