首页 > 代码库 > 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!