Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.1
-
Component/s: Core Runtime
-
Labels:None
Description
1. BigDecimal and BigInteger instances are serialized with quotes, saying effectively that they are Strings instead of numbers.
2. Float and Double values are not rounded off, and are serialized with more decimals than required.

By not trying to do our own serialization of Number, it seems that the JSON library handles both of these issues perfectly well.