📅  最后修改于: 2022-03-11 14:52:21.904000             🧑  作者: Mango
JSONObject MyObject = new JSONObject(AllJson);
JSONObject agac = MyObject.getJSONObject("agac-"+String.valueOf(b)); // b is a index in your list
String agac_name = agac.getString("agac-name");
int agac_sayisi = agac.getInt("agac-sayisi");
double agac_carpani = agac.getDouble("agac-carpani");
double agac_fiyat = agac.getDouble("agac-fiyati");
int agac_level = agac.getInt("agac-level");