Convert the Json string to Hashmap like below using Google’s Gson, then you can interate through the hashmap
String jsonString = "Your JSON string";
HashMap<String, JsonObject> map = new Gson().fromJson(jsonString, new TypeToken<HashMap<String, JsonObject>>(){}.getType());
2
solved Any suggestions to deserialize this json with Gson? [closed]