Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 JSON 中,当客户端发送数字数据类型(带小数点)时,我应该在服务器端使用什么反序列化类。双倍的?
编辑: SS端是java
您使用的是什么服务器端语言?爪哇?如果是这样,该字段中存储了什么?钱?如果您需要存储精确值,我不会使用 Double... 而是查看BigDecimal。