CollectionType collectionType = mapper.getTypeFactory().constructCollectionType(List.class, JustcoinPublicTrade.class);
final List<JustcoinPublicTrade> trades = mapper.readValue(is, collectionType);
// Verify that the example data was unmarshalled correctly
assertThat(trades).hasSize(2);
final JustcoinPublicTrade trade = trades.get(0);
assertThat(trade.getAmount()).isEqualTo("0.16204");
assertThat(trade.getPrice()).isEqualTo("600.632");
assertThat(trade.getTid()).isEqualTo("92595");
assertThat(trade.getDate()).isEqualTo(1403353443);
}