标签:android style class blog c code
服务器端:
Person person = new Person( , ,); JSONObject obj = new JSONObject(); obj.put("person", person);
Android 客户端:
JSONObject jsonObject = new JSONObject(jsonString); JSONObject personObject = jsonObject.getJSONObject("person"); person.setId(personObject.getInt("id")); person.setName(personObject.getString("name"));
标签:android style class blog c code
原文地址:http://blog.csdn.net/xiatian6032/article/details/26746335