Reputation: 17097
In JSON, when the client sends a numeric data type(with decimlas), what deserialization class should I use on server side. Double?
Edit: SS side is java
Upvotes: 0
Views: 366
Reputation: 37388
What server-side language are you using? Java? If so, what's being stored in the field? Money? If you need to store precise values, I wouldn't use Double... instead look at BigDecimal.
Upvotes: 1