CoinfloorMarketOrderResponse { public BigDecimal getRemaining() { return remaining; } CoinfloorMarketOrderResponse(@JsonProperty("remaining") BigDecimal remaining); BigDecimal getRemaining(); @Override String toString();  }
@Test public void unmarshalTest() throws IOException { InputStream is = getClass() .getResourceAsStream( "/org/knowm/xchange/coinfloor/dto/trade/example-place-market-order.json"); ObjectMapper mapper = new ObjectMapper(); CoinfloorMarketOrderResponse response = mapper.readValue(is, CoinfloorMarketOrderResponse.class); assertThat(response.getRemaining()).isEqualTo("0.0000"); }