I get a string from the server that returns the following:
{\"row\" : [{\"name\":\"acb\", \"age\":37}, {\"name\":\"lone\", \"age\":38}]}
and model
public class Row{
private List<Person> personList;
}
public class Person {
public String name;
public int age;
}
So how do I get the item name and age into a class Row
and List<Person>
.
Give me a way to solve it