Spring Integration 3 + Jackson 2 + Joda mappings
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
@Configuration | |
public class Config { | |
@Bean | |
public JsonObjectMapper<?> jsonObjectMapper() { | |
final ObjectMapper mapper = new ObjectMapper(); | |
mapper.registerModule(new JodaModule()); | |
return new Jackson2JsonObjectMapper(mapper); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment