How to customize spring boot XmlMapper when fields are effectively final to customize _xmlInputFactory? #865
Answered
by
pjfanning
alexanderankin
asked this question in
Q&A
|
because spring boot does not give you access to customize the code:
if there is no way to accomodate that here, ill try take it to the spring boot folks? |
Answered by
pjfanning
May 20, 2026
Replies: 1 comment 5 replies
|
Spring provide APIs for controlling the ObjectMapper instances. They should provide similar APIs for XmlMapper or its builder. You should start with raising a Spring issue. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the builder is no different than the ObjectMapper one - that is the builder is provided the TokenStreamFactory at creation time and it can't be later changed - so how does Spring facilitate providing customised TokenStreamFactory (JsonFactory) for ObjectMapper builders?