When i make a GET api call to my web server i get below response. It is returning a list of values. I want traverse each value and convert to java object "Student"
[{ "name": "xyz", "id": "1234" }, { "name": "abc", "id": "1254" }]
How do i convert each value in the list to java object which has two fields "name" and "id".
Eg:-
class Student{
String name;
String id;
}
>(){})` should do
– ernest_k Sep 08 '18 at 12:59