There is a cycle in the hierarchy

在使用JSONObject.fromObject的时候,出现“There is a cycle in the hierarchy”异常。html 意思是出现了死循环,也就是Model之间有循环包含关系;json 解决办法:spa 使用setCycleDetectionStrategy防止自包含htm 代码:blog JsonConfig jsonConfig = new JsonConfig();
相关文章
相关标签/搜索