直接将JsonObject即obj放入jsonArray
jsonArray.put(obj);//result is [{ "abc":"test","bed":"cot","help":"me"}]最终代码
JSonObject obj= new JSonObject(str);JSonArray jsonArray = new JSonArray();//simply put obj into jsonArrayjsonArray.put(obj);//result is [{ "abc":"test","bed":"cot","help":"me"}]


