We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用 JSON.DEFAULT_PARSER_FEATURE &= ~Feature.UseBigDecimal.getMask() 方式,正常是可以避免 double 转 BigDecimal 的,但是如果 Bean 里面字段类型是 LinkedHashMap<Integer, Number> 的话,Number 里面如果出现浮点型数值,还是会被转为 BigDecimal
JSON.DEFAULT_PARSER_FEATURE &= ~Feature.UseBigDecimal.getMask()
LinkedHashMap<Integer, Number>
版本:1.2.70
The text was updated successfully, but these errors were encountered:
@wenshao PTAL
Sorry, something went wrong.
https://github.com/alibaba/fastjson/releases/tag/1.2.73 问题修复,请用新版本
@wenshao 赞啊,感谢大佬 👍
wenshao
No branches or pull requests
使用
JSON.DEFAULT_PARSER_FEATURE &= ~Feature.UseBigDecimal.getMask()
方式,正常是可以避免 double 转 BigDecimal 的,但是如果 Bean 里面字段类型是LinkedHashMap<Integer, Number>
的话,Number 里面如果出现浮点型数值,还是会被转为 BigDecimal版本:1.2.70
The text was updated successfully, but these errors were encountered: