How to get the data from the JSON list of JSON list
问题 I've got an JSON string from my API, looks like this: [ { "id": "abc", "data": { "Name": "Peter", "Date": "2017/12/01" } }, { "id": "def", "data": { "Name": "Tina", "Date": "2017/12/20" } }, { "id": "ghi", "data": { "Name": "Amy", "Date": "2017/12/16" } } ] Then, I use (java): Gson gson = new Gson(); Type resultType = new TypeToken<List<Map<String, Object>>>() { }.getType(); List<Map<String, Object>> result = gson.fromJson(info, resultType); if I call result.get(0).toString()); then it