I have a JSON string which I want to serialize in a Java object, one of the properties in the json string doesn't match the name of field in the Java object, I know this can be fixed using the @JSONProperty as mentioned here - Jackson annotation - How to rename element names?
But I don't have access to the source code of the Java object thus I can't add the annotation, is there a way to do this at runtime by providing some configuration code to the ObjectMapper? I am using Jackson version 1.9.
Thanks,