WORKED CASE · SYNTHETIC TEST DATA

Inspect repeated XML elements

JSON arrays need an explicit XML mapping.

Input and settings

{"item":["red","blue"]}

Run and interpret

Convert the sample and check two item elements inside the root wrapper, in array order.

Expected output

<item>red</item>
<item>blue</item>

Scope and possible misuse

Scalar JSON types are not retained as XML types. Null and invalid element names are rejected; this is not a universal lossless round-trip.

Unexpected result? Report a minimal example