net.sf.json.JSONException: There is a cycle in the hierarchy! 异常解决
2014-07-09 10:32
501 查看
JsonConfig jsonConfig = new JsonConfig(); jsonConfig.setCycleDetectionStrategy(CycleDetectionStrategy.LENIENT); jsonConfig.registerJsonBeanProcessor(java.sql.Date.class,new JsDateJsonBeanProcessor()); JSONArray jsonObject = JSONArray.fromObject(list, jsonConfig);
可解决该异常出现
相关文章推荐
- json-lib 出现net.sf.json.JSONException: There is a cycle in the hierarchy异常的解决办法
- net.sf.json.JSONException: There is a cycle in the hierarchy异常的解决方法
- json-lib 出现net.sf.json.JSONException: There is a cycle in the hierarchy异常的解决办法
- net.sf.json.JSONException: There is a cycle in the hierarchy异常,解决方法
- atitit.解决net.sf.json.JSONException There is a cycle in the hierarchy
- JSON处理Hibernate实体类net.sf.json.JSONException: There is a cycle in the hierarchy异常
- net.sf.json.JSONException: There is a cycle in the hierarchy!的解决办法
- net.sf.json.JSONException: There is a cycle in the hierarchy! 转json死循环问题解决
- json中net.sf.json.JSONException: There is a cycle in the hierarchy!的解决
- atitit.解决net.sf.json.JSONException There is a cycle in the hierarchy
- net.sf.json.JSONException: There is a cycle in the hierarchy! 解决方法
- net.sf.json.JSONException: There is a cycle in the hierarchy! 异常
- 解决net.sf.json.JSONException: There is a cycle in the hierarchy!
- atitit.解决net.sf.json.JSONException There is a cycle in the hierarchy
- net.sf.json.JSONException: There is a cycle in the hierarchy!
- net.sf.json.JSONException: There is a cycle in the hierarchy!错误解决方案
- net.sf.json.JSONException: There is a cycle in the hierarchy!
- net.sf.json.JSONException: There is a cycle in the hierarchy
- net.sf.json.JSONException: There is a cycle in the hierarchy!
- net.sf.json.JSONException: There is a cycle in the hierarchy!