I'm attempting to deserialize this xml string: val xml2 = """ <id>3</id> """.trimIndent() to this data class @JacksonXmlRootElement(localName = "
How do I get Jackson's XMLMapper to read the name of the root xml element when deserializing? I am deserializing input XML to generic Java class, LinkedHashMap