FileOutputStream fileOutputStream = null; ObjectOutputStream objectOutputStream = null; try{ JSONObject jsonObject=new JSONObject(msg); String status=jsonObject.getString("status"); if(status.equals("1")){ Gson gson=new Gson(); teacherResponseList=gson.fromJson(jsonObject.getJSONArray("result").toString(),
android将对象写入文件和从文件中读取对象数据
最新推荐文章于 2023-06-04 11:47:13 发布