How to customize spring boot XmlMapper when fields are effectively final to customize _xmlInputFactory? #865
-
|
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? |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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?