// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
KrakenBalanceResult krakenBalance = mapper.readValue(is, KrakenBalanceResult.class);
AccountInfo info = KrakenAdapters.adaptBalance(krakenBalance.getResult(), null);
assertThat(info.getBalance(Currencies.EUR)).isEqualTo(new BigDecimal("1.0539"));
assertThat(info.getBalance(Currencies.BTC)).isEqualTo(new BigDecimal("0.4888583300"));
}