
json
pengfeifei26
这个作者很懒,什么都没留下…
展开
-
json 处理hibernate级联
JsonConfig config = new JsonConfig(); config.setJsonPropertyFilter(new PropertyFilter(){ public boolean apply(Object source, String name, Object value) { if(name.equals("urs...原创 2013-12-26 18:05:03 · 119 阅读 · 0 评论 -
使用自带JSONObject解析JSON数据
[code="java"] import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; //获取解析的串,如下json串 public static String getJsonString(String urlPath) throws Exception { S...原创 2013-08-13 15:02:21 · 233 阅读 · 0 评论 -
json处理
使用Jackson框架解析Json示例 { "country":"USA", "countryInfo":{"golden":40,"silver":23,"copper":33,"tank":1}, "countryDetail":[ {"id":"no"原创 2014-10-10 18:30:27 · 116 阅读 · 0 评论