mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
修复JSON循环依赖问题
This commit is contained in:
@@ -102,7 +102,7 @@ public class DocManagerImpl implements DocManager {
|
||||
throw new IllegalAccessException("无权访问");
|
||||
}
|
||||
String docInfoJson = entity.getBody();
|
||||
JSONObject docRoot = JSON.parseObject(docInfoJson, Feature.OrderedField);
|
||||
JSONObject docRoot = JSON.parseObject(docInfoJson, Feature.OrderedField, Feature.DisableCircularReferenceDetect);
|
||||
DocParser docParser = this.buildDocParser(docRoot);
|
||||
DocInfo docInfo = docParser.parseJson(docRoot);
|
||||
docDefinitionMap.put(docInfo.getTitle(), docInfo);
|
||||
|
Reference in New Issue
Block a user