Create an ObjectMapperCustomizer to allow tailoring ObjectMapper through media types configuration #1382
Labels
in: configuration
Configuration and setup
in: mediatypes
Media type related functionality
type: enhancement
Milestone
Create a hook for users to customize the
ObjectMapper
created in the serializer, like this:Then,
HalConfiguration
could addwithObjectMapperCustomizer(ObjectMapperCustomizer)
, allowing users to supply a lambda function.Jackson2HalModule
can then leveragehalConfiguration.getObjectMapperCustomizer.accept(mapper)
after getting or creating theObjectMapper
.The text was updated successfully, but these errors were encountered: