Converting JSON to XML XmlMapper- Jackson 2.10
问题 I have pojos with @JsonProperties. I use these to read JSON and parse to POJO. I am now having to post these pojos formatted as XML. The Required XML format to successfully post looks like this (note the namespace type, xsi type formatting): <network_objects> <network_object xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="subnetNetworkObjectDTO"> <name>TestSubnet</name> <display_name>TestSubnet</display_name> <global>false</global> <application_id>3</application_id> <type