,這裏是我的android code..in字符串 解析字符串成JSON在Android的
result[{"Submitted_Date_Time":"12\/3\/2012","City":"","Issue_Category":"Graffity","OnProgress_Date_Time":"","id":"000000000000000","area":"SH 55","State":" ","Issue_Description":" ","Closed_Date_Time":"","imagepath":"[email protected]","Latitude":"23.71","Longitude":"72.04","Issue_Status":"Closed","LandMark":" "}]
,我嘗試將其轉換到JSON數組,當我想從JSON數組retrive JSON對象它給我nullpointer exception...
JSONArray jarray = new JSONArray(result);
JSONObject jobj = jarray.getJSONObject(1);
plz幫助我.. thnkx提前..