摘要:
packagecom.test;importjava.text.ParseException;importjava.util.ArrayList;importorg.json.JSONArray;importorg.json.JSONObject;publicclassUtili{publicstaticvoidJson2Obj(Strings){JSONArrayarray;try{array=newJSONArray(s);}catch(ParseExceptione){e.printStackTrace();return;}StringBuildersb=newStringBuilder 阅读全文