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] 全局配置 #361

Closed
chrisyue0511 opened this issue May 27, 2022 · 1 comment
Closed

[QUESTION] 全局配置 #361

chrisyue0511 opened this issue May 27, 2022 · 1 comment
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@chrisyue0511
Copy link

请描述您的问题

询问有关本项目的使用和其他方面的相关问题。
如何在调用诸如:JSON.toJSONString()等方法时,不用手动添加各种Feature,是否有一个全局配置的地方?我知道有FastJsonConfig,但貌似是用于Message Converter的

@chrisyue0511 chrisyue0511 added the question Further information is requested label May 27, 2022
@wenshao wenshao added this to the 2.0.5 milestone May 27, 2022
@wenshao wenshao added the enhancement New feature or request label May 27, 2022
@wenshao
Copy link
Member

wenshao commented May 28, 2022

https://github.com/alibaba/fastjson2/releases/tag/2.0.5
问题已修复,请用新版本

JSON类增加了config方法,用于配置全局Features

@wenshao wenshao closed this as completed May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants