读取:String str="[{"file":"/mnt/sdcard/班内通讯录版.xls"},{"file":"/mnt/sdcard/alarm/bin/classes/com/xi/}]"
JSONArray ja = new JSONArray(str);
for(int i=0;i<ja.length();i++){
JSONObject jo = (JSONObject)ja.opt(i);
System.out.println("~~~~~~ "+jo.getString("file"));
}
写入: