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
一些价格类数据 如22.0 10.0 作为json的value 用fastjson转换时会省略后面的.0 在一些应用场景会出现问题。
The text was updated successfully, but these errors were encountered:
之前是故意去掉的,陆续有人反馈说有问题,你遇到的是具体什么问题?我好决定是否保留".0"
Sorry, something went wrong.
例如[{"price":22.0},{“price”:10.0}] JSONArray.toString() 结果会变为"[{"price":22},{“price”:10}]" 类似这样 .0 会被去掉,在一些使用场景会出现问题,比如需要用这个串做签名和验签,串会不一致
float & double serialize remaining '.0', compatible with jackson/gson…
5e957ef
…. issue #773
Revert "float & double serialize remaining '.0', compatible with jack…
67ce18b
…son/gson. issue alibaba#773" This reverts commit 5e957ef.
970d315
…. issue alibaba#773
No branches or pull requests
一些价格类数据 如22.0 10.0 作为json的value 用fastjson转换时会省略后面的.0 在一些应用场景会出现问题。
The text was updated successfully, but these errors were encountered: