Jackson 2.0 compatibility with Jackson 1.x annotations?
问题 I have an older framework class that is annotated with jackson 1.x. My application uses jackson 2.0 to handle json serialization. Is it possible to configure jackson 2.0 to understand the "old" annotations? currently these annotations are simply ignored. 回答1: There is no out-of-the-box configuration, but it should be quite easy to implement Jackson 2.0 AnnotationIntrospector (possibly extending JacksonAnnotationIntrospector ) and make it use Jackson 1.x annotations in addition to or instead