// call the provider as though the wink-client was in use on the client side
InputStream is = new ByteArrayInputStream(response.getContentAsByteArray());
// use JacksonJaxbJsonProvider with default configuration instead of the old JacksonJsonProvider
JacksonJaxbJsonProvider jacksonJAXBProvider = new JacksonJaxbJsonProvider();
MyJAXBObject myJAXBObject = (MyJAXBObject)jacksonJAXBProvider.readFrom(Object.class, MyJAXBObject.class, null, MediaType.APPLICATION_JSON_TYPE, null, is);
// make sure the Jackson deserializer is using the 'type' property on the XmlElement annotation in MyJAXBObject
// confirm Jackson deserialized to expected object type -- support for this was added in Jackson 1.4
assertTrue(myJAXBObject.getConfiguration() instanceof MyProperties);
}