Closed GoogleCodeExporter closed 8 years ago
The remedy would probably be to add
mapper.enable(DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS);
to JSONUtil.
If you want to do some more, you might add a static mapper and a static
initialization with something like:
// Object mappers are thread safe and can be reused as long as they don't need reconfiguration
objectMapper = new ObjectMapper();
objectMapper.enable(DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS);
Original comment by Jan.Ko...@gmail.com
on 20 Nov 2013 at 2:41
Thanks for reporting with a solution :)
Fixed.
Original comment by subwiz
on 20 Nov 2013 at 6:34
Original issue reported on code.google.com by
Jan.Ko...@gmail.com
on 20 Nov 2013 at 1:54