// Read in the JSON from the example resources
InputStream is = CoinbaseMarketDataJsonTest.class.getResourceAsStream("/marketdata/example-exchange-rate-data.json");
// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
MapLikeType mapType = mapper.getTypeFactory().constructMapLikeType(HashMap.class, String.class, BigDecimal.class);
Map<String, BigDecimal> exchangeRates = mapper.readValue(is, mapType);
assertThat(exchangeRates.size()).isEqualTo(632);
BigDecimal exchangeRate = exchangeRates.get("scr_to_btc");