Skip to content

Instantly share code, notes, and snippets.

@dailymartin
Last active January 9, 2017 04:29
Show Gist options
  • Save dailymartin/3ffea8bb7ac34d614b8a9b3e7b98121d to your computer and use it in GitHub Desktop.
Save dailymartin/3ffea8bb7ac34d614b8a9b3e7b98121d to your computer and use it in GitHub Desktop.
@Primary
@Bean
public ObjectMapper objectMapper() {
ObjectMapper objectMapper = new CustomObjectMapper();
initializeObjectMapper(objectMapper);
return objectMapper;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment