DefaultList output = mapper.readValue(json, DefaultList.class);
assertNotNull(output.value);
assertEquals(1, output.value.length);
// but without, should work as well
JacksonXmlModule module = new JacksonXmlModule();
module.setDefaultUseWrapper(false);
mapper = new XmlMapper(module);
json = "<DefaultList><value></value></DefaultList>";
output = mapper.readValue(json, DefaultList.class);
assertNotNull(output.value);
assertEquals(1, output.value.length);