2018年1月29日
摘要: public JSONObject postRequest(Map<String,String> paramMap,String URL) throws Exception { JSONObject paramJson = new JSONObject(paramMap); System.out.p 阅读全文
posted @ 2018-01-29 15:40 梓木的稻稻 阅读(185) 评论(0) 推荐(0)
摘要: json-lib-x.x.jar: 1. List集合转换成json代码 List list = new ArrayList(); list.add( "a" ); JSONArray arry = JSONArray.fromObject( list ); 2. Map集合转换成json代码 Ma 阅读全文
posted @ 2018-01-29 14:49 梓木的稻稻 阅读(153) 评论(0) 推荐(0)