[I] XmlSerializationOptions
For Xml serialization.
The name/itemsName will come from explicit setting of @encodedName("application/xml", "NAME") or @xml.Name("NAME") or original model/property name.
Other properties come from @xml.attribute, @xml.ns, @xml.unwrapped.
The itemsName and itemsNs are used for array items.
If unwrapped is true, itemsName should always be same as the name. If unwrapped is false, itemsName could have different name.
Properties
Section titled โPropertiesโ| Property | Type |
|---|---|
attribute? | boolean |
itemsName? | string |
itemsNs? | object |
itemsNs.namespace | string |
itemsNs.prefix | string |
name | string |
ns? | object |
ns.namespace | string |
ns.prefix | string |
unwrapped? | boolean |