convertResult(message.getResult());
}
public static ObjectMapper createObjectMapperWithIntroSpectors() {
ObjectMapper mapper = new ObjectMapper();
AnnotationIntrospector primaryIntrospector = new JacksonAnnotationIntrospector();
AnnotationIntrospector secondaryIntrospector = new JaxbAnnotationIntrospector(mapper.getTypeFactory());
AnnotationIntrospector introspector =
new AnnotationIntrospectorPair(primaryIntrospector, secondaryIntrospector);
mapper.getDeserializationConfig().withAppendedAnnotationIntrospector(introspector);
mapper.getSerializationConfig().withAppendedAnnotationIntrospector(introspector);