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]序列化对象时JSONWriter.Feature.BrowserCompatible对属性List<Long>类型无效 #1742
Comments
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.40-SNAPSHOT/ |
已解决 |
输出结果:
上面两处好像逻辑错了吧 |
是应该全都 !(v <= 9007199254740991L && v >= -9007199254740991L); |
https://github.com/alibaba/fastjson2/releases/tag/2.0.40 https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.41-SNAPSHOT/ |
问题描述
序列化对象时JSONWriter.Feature.BrowserCompatible对属性List<Long>类型无效
环境信息
重现步骤
期待的正确结果
{"a":"1443605444282772302","b":[“1443605444282772302”,“1443605444282772303”,“1443605444282772304”]}。
相关日志输出
{"a":"1443605444282772302","b":[1443605444282772302,1443605444282772303,1443605444282772304]}
The text was updated successfully, but these errors were encountered: