-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add method ObjectMapper.copyWith(JsonFactory)
#3212
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
Comments
I can see how this could be useful. I thought I had filed an issue like this before. |
I think #2722 is what I had in mind. Although TBH, that is for builders; "copy" methods are only available on 2.x. |
One thing to note: this would not work for all formats: XML (jackson-dataformat-xml) for example requires |
ObjectMapper.copyWith(JsonFactory)
It's a valid use case that reuse the same configuration over different data formats
Spring Boot configuration take affect only json format, this will make it possible to all format, for example
spring-projects/spring-boot#27319 (comment)
The text was updated successfully, but these errors were encountered: