CsvSchema schema = mapper.schemaFor(Entry.class);
ObjectWriter writer = mapper.writer(schema);
mapper.disable(CsvParser.Feature.WRAP_AS_ARRAY);
// First, using bytes; note
byte[] bytes = writer.writeValueAsBytes(entries);
// ... we just happen to know this is expected length...
final int EXPECTED_BYTES = 97640;
assertEquals(EXPECTED_BYTES, bytes.length);
MappingIterator<Entry> it = mapper.reader(Entry.class).with(schema).readValues(bytes, 0, bytes.length);