You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BottomCoder-Ander
changed the title
开启JSONWriter.Feature.ReferenceDetection进行序列化,结果却没有将重复引用替换成$ref [Bug]
[Bug]开启JSONWriter.Feature.ReferenceDetection进行序列化,结果却没有将重复引用替换成$ref
May 22, 2022
BottomCoder-Ander
changed the title
[Bug]开启JSONWriter.Feature.ReferenceDetection进行序列化,结果却没有将重复引用替换成$ref
[BUG]开启JSONWriter.Feature.ReferenceDetection进行序列化,结果却没有将重复引用替换成$ref
May 22, 2022
问题描述
开启JSONWriter.Feature.ReferenceDetection进行序列化,结果却没有将重复引用替换成$ref
环境信息
重现步骤
运行下面测试代码,序列化结果并没有检测引用。预期应该是序列化成$refxxx的。如果使用fastjson (1.2.78)而不是fastjson2,就不会有这个问题。
预期结果
实际结果
The text was updated successfully, but these errors were encountered: