with Xsi Type Map
open fun withXsiTypeMap(xsiTypeMap: Map<String, XMLXsiTypeConverter<out Any>>): XMLParserConfiguration
When parsing the XML into JSON, specifies that the values with attribute xsi:type will be converted to target type defined to client in this configuration Map<String, XMLXsiTypeConverter<?>>
to parse values with attribute xsi:type="integer" as integer, xsi:type="string" as string
Return
The existing configuration will not be modified. A new configuration is returned.
Parameters
xsi Type Map
new HashMap<String, XMLXsiTypeConverter<?>>()
to parse values with attribute xsi:type="integer" as integer, xsi:type="string" as string