InputStream is = BitKonanMarketDataJsonTest.class.getResourceAsStream("/marketdata/bitkonan-example-ticker-data.json");
// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
BitKonanTicker ticker = mapper.readValue(is, BitKonanTicker.class);
assertThat(ticker.getAsk()).isEqualTo("609.58");
assertThat(ticker.getBid()).isEqualTo("608.63");
assertThat(ticker.getLast()).isEqualTo("609.24");
assertThat(ticker.getHigh()).isEqualTo("621.81");
assertThat(ticker.getLow()).isEqualTo("563.4");
assertThat(ticker.getVolume()).isEqualTo("1232.17");
}