2016年5月12日
摘要: xmlstr转化为对象 XStream xstream=new XStream(); xstream.autodetectAnnotations(true); xstream.alias("User",User.class); (User)xstream.fromXML(xmlstr); 对象转化为 阅读全文
posted @ 2016-05-12 17:51 微笑流氓兔 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1、JSONObject.fromObject(jsonstr); 2、JSONArray.fromObject(jsonstr); 阅读全文
posted @ 2016-05-12 16:42 微笑流氓兔 阅读(219) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2016-05-12 15:42 微笑流氓兔 阅读(136) 评论(0) 推荐(0) 编辑