In our code we have org.codehaus.jackson imports in java file. now we are moving to com.fasterxml.jackson.
What are the points are to be considered for smooth up gradation?
Following are some of the changes identified between Jackson 1.9.x and Jackson 2.9.8
org.codehaus.jackson
changed to com.fasterxml.jackson
org.codehaus.jackson.map
changed to com.fasterxml.jackson.databind
SerializationConfig.Feature
changed and split to SerializationFeature,MapperFeature
DeSerializationConfig.Feature
changed and split to DeSerializationFeature,MapperFeature
AnnotationIntrospector.Pair
changed to AnnotationIntrospectorPair
SerializationConfig.withAnnotationIntrospectro(...)
changed to SerializationConfig.with(...)
ObjectMapper.getSerilizationConfig().addMixInAnnotations(...)
changed to ObjectMapper.addMixIn(....)
JSonSerialize.include
changed to JSonInclude
ObjectMapper.readValue(JSonNode,...)
changed to ObjectMapper.readValue(ObjectMapper.treeAsTokens(JSonNode),...)