|
|
@ -2614,9 +2614,8 @@ name(s) could be customized through the `jsonpParameterNames` property. |
|
|
|
The `MappingJackson2XmlView` uses the |
|
|
|
The `MappingJackson2XmlView` uses the |
|
|
|
https://github.com/FasterXML/jackson-dataformat-xml[Jackson XML extension]'s `XmlMapper` |
|
|
|
https://github.com/FasterXML/jackson-dataformat-xml[Jackson XML extension]'s `XmlMapper` |
|
|
|
to render the response content as XML. If the model contains multiples entries, the |
|
|
|
to render the response content as XML. If the model contains multiples entries, the |
|
|
|
object to be serialized should be set explicitly using `MappingJackson2XmlView`'s |
|
|
|
object to be serialized should be set explicitly using the `modelKey` bean property. |
|
|
|
`modelKey` bean property. If the model contains a single entry, it will be serialized |
|
|
|
If the model contains a single entry, it will be serialized automatically. |
|
|
|
automatically. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
XML mapping can be customized as needed through the use of JAXB or Jackson's provided |
|
|
|
XML mapping can be customized as needed through the use of JAXB or Jackson's provided |
|
|
|
annotations. When further control is needed, a custom `XmlMapper` can be injected |
|
|
|
annotations. When further control is needed, a custom `XmlMapper` can be injected |
|
|
|