-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize ObjectMapper used for @RequestBody
and @ResponseBody
(de)serialization
#318
Comments
Hi @titenkov , I'm afraid customizing the As an alternative for the I had a look at the Possible improvements and feedback are always welcome! Being able to customize the |
Thank you for a quick reply @kerkhofsd :) I will try out the In general, it would be very useful to have the ability to customize an |
Hi @titenkov , Unfortunately there is no good alternative for FYI: the After a discussion with the team, we see two options:
We would love to discuss and receive any contributions to add this nice improvement to the framework! |
@RequestBody
and @ResponseBody
(de)serialization
Yeah, supporting |
@titenkov Is there anything in particular that makes you look for alternatives to https://github.com/dgradecak/alfresco-mvc ? |
I'm submitting a ... (check one with "x")
Expected Behavior
Is it possible to override the global MappingJackson2HttpMessageConverter / ObjectMapper, which is used by default? I would like to modify it a bit (date formats, snake case, etc.). I was trying to do that in the "spring way", but seems like it doesn't work. I've noticed the annotation
@MessageConverter
, but there is no documentation of how to use that.Could you please suggest an approach for it?
Context
I'm investigating if we can use dynamic extensions for some Alfresco customization (custom REST API). Currently, we're using https://github.com/dgradecak/alfresco-mvc for this purpose.
Your Environment
The text was updated successfully, but these errors were encountered: