Open mattrpav opened 7 years ago
Note: JSON schema doesn't have precision limit on a number
number
An arbitrary-precision, base-10 decimal number value, from the JSON "number" production
Maybe we need to override JSON parser and take it as a string anyway.
The Big* java variants would b able to handle any precision. But unless we have to deal with the value as a number in the mapper (math functions?), perhaps treating it as a string is best.
Possible use cases:
Modeling BigInteger/BigDecimal is complicated in that many formats don't support the concept of a dynamically sized number. For Xml and Json, we may need to consider converting them to a string if they exceed 64 bit integer size.