Skip to content

Instantly share code, notes, and snippets.

@evonsdesigns
Created March 12, 2019 18:03
Show Gist options
  • Save evonsdesigns/6fb4a73e944a5c4dae340d83373011ef to your computer and use it in GitHub Desktop.
Save evonsdesigns/6fb4a73e944a5c4dae340d83373011ef to your computer and use it in GitHub Desktop.
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