[QUESTION]请问在fastjson2兼容包fastjson2.0.60版本中,有禁止循环引用的功能吗,就是去掉 $ref
Open
question
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
### 请描述您的问题
*询问有关本项目的使用和其他方面的相关问题。*
目前项目是基于fastjson1升级到fastjson2,使用的时兼容模式,即使用fastjson2.0.60版本,看了一下相关实现,JSON类中的toJsonString()方法默认是传循环引用的参数的,有什么版本能去除吗?
Contributor guide
Research direction
Start with the JSON class's toJsonString() method in the fastjson2 compatibility mode and inspect how its circular-reference parameter is handled. Determine whether an existing fastjson2.0.60 option or another version removes $ref, then document the supported behavior or limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100