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();
相關文章
相關標籤/搜索