// Read in the JSON from the example resources
InputStream is = BTERAdapterTest.class.getResourceAsStream("/marketdata/example-pairs-data.json");
// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
BTERCurrencyPairs currencyPairs = mapper.readValue(is, BTERCurrencyPairs.class);
this.currencyPairs = currencyPairs.getPairs();
}