I have this response:
[{ "age" : "12",
"name" : "name1"
},
{ "age" : "21",
"name" : "name2"
}]
How can i parse this response using Gson
ArrayList<PersonModel> persons = gson.fromJson(response, PersonModel.class);
this will not work with me