I am parsing a Json string via gson , this is the Json string
[ { \"ID\": 1, \"Name\": \"Australia\", \"Active\": true }, { \"ID\": 3, \"
Instead of List use ArrayList ?
List
ArrayList
Gson gson = new Gson(); Type t = new TypeToken>() {}.getType(); ArrayList list = (ArrayList) gson.fromJson(json, t);