Currently, I\'m using Jackson to send out JSON results from my Spring-based web application.
The problem I\'m having is trying to get all money fields to output with
I had the same issue and i had it formatted into JSON as a String instead. Might be a bit of a hack but it's easy to implement.
private BigDecimal myValue = new BigDecimal("25.50"); ... public String getMyValue() { return myValue.setScale(2, BigDecimal.ROUND_HALF_UP).toString(); }