-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
XmlSerializerProvider
does not use withRootName
config for null
#213
Milestone
Comments
I'd need to understand more what the problem here is: what is not working, and how to reproduce the issue. Is this just the question of serialization of root-level |
Ok, I think I am able to reproduce what is being seen. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
jackson-dataformat-xml/src/main/java/com/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider.java
Line 203, I think
_rootNameFromConfig()
should be used if available instead ofROOT_NAME_FOR_NULL
, so thatwithRootName()
config can be used.I don't know whether/how deser would be affected
jackson-dataformat-xml/src/main/java/com/fasterxml/jackson/dataformat/xml/ser/XmlSerializerProvider.java
Line 203 in ca1c671
The text was updated successfully, but these errors were encountered: