您应该尝试这样:
String str = "your json string";JSonObject json = new JSonObject(str);String module = json.getJSonObject("1").getString("id_module");String address = json.getJSonObject("1").getString("adresse_mac");String module2 = json.getJSonObject("2").getString("id_module"); //from 2nd object


