@Xml(childName) Annotation
The @Xml(childName) annotation can be used to specify the name of XML child elements for bean properties of type collection or array.
Example
Data type | JSON example | Without annotation | With annotation |
---|---|---|---|
|
|
|
|
|
|
|
|
The @Xml(childName) annotation can be used to specify the name of XML child elements for bean properties of type collection or array.
Data type | JSON example | Without annotation | With annotation |
---|---|---|---|
|
|
|
|
|
|
|
|