-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
关于JSONObject对象toString的方法是不是可以加个支持SerializerFeature重载呢? #2074
Comments
你来提交个patch? |
wenshao
added a commit
that referenced
this issue
Apr 11, 2019
wenshao
added a commit
that referenced
this issue
Apr 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
关于JSONObject对象toString的方法是不是可以加个支持SerializerFeature重载呢?
目前 JSONObject对象toString或toJSONString都不支持设置SerializerFeature,每次toString的时候必须都折中使用
这样的方式看起来一点儿也不优雅。建议在com.alibaba.fastjson.JSON中添加 toString(SerializerFeature... features)方法。
The text was updated successfully, but these errors were encountered: