I'm using the ObjectMapper
class from the fasterxml
package (com.fasterxml.jackson.databind.ObjectMapper
) to serialize some POJOs.
The problem I'm facing is that all the annotations in the POJOs are from the older codehaus library. The fasterxml
ObjectMapper
is not recognizing the codehaus jackson annotations.
One possible solution is to update the annotations in the POJO to fasterxml
, but the POJOs are provided by a third party, hence I cannot modify it.
How can I solve this problem?