-
Notifications
You must be signed in to change notification settings - Fork 479
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
[BUG] JSON.toJSONString解析StringBuilder和StringBuffer对象错误 #687
Comments
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.12-SNAPSHOT/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
JSON.toJSONString解析StringBuilder和StringBuffer对象时,返回值均为 {}。
环境信息
请填写以下信息:
重现步骤
期待的正确结果
类似gson返回原对象的字符串。
相关日志输出
2022-08-13 15:12:36 707 [INFO] [c=StringUtilsTest] [41] [main] [mainraceId] 原String: 123 , 123,gson: " 123 "," 123", fastjson :{},{}
The text was updated successfully, but these errors were encountered: