Created
March 12, 2019 18:03
-
-
Save evonsdesigns/6fb4a73e944a5c4dae340d83373011ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.fasterxml.jackson.databind.MapperFeature; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
public class PojoMapper { | |
private ObjectMapper mapper; | |
public PojoMapper() { | |
mapper = new ObjectMapper(); | |
mapper.configure( | |
MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES, | |
true | |
); | |
} | |
protected ObjectMapper getMapper() { | |
return mapper; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment