Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION]开启safemode后,序列化包含WriteClassName,生成结果中包含@type,AutoType仍有效 #3187

Open
LYoung93 opened this issue Nov 29, 2024 · 0 comments
Labels
question Further information is requested

Comments

@LYoung93
Copy link

开启safemode=true后,使用JSON.toJSONString序列化时包含JSONWriter.Feature.WriteClassName,生成结果中包含@type,AutoType仍有效。但是在反序列化时,因开启safemode,导致JSONReader.Feature.SupportAutoType不生效,请问是否这种情况下,反序列化该如何处理呢

@LYoung93 LYoung93 added the question Further information is requested label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant