How are JSON arrays converted to XML?
XML has no native array syntax, so JSON arrays are converted into repeated child elements. Each item in the array becomes a separate <item> tag nested inside the parent element. For example, ["JS", "C#"] under a "skills" key becomes two <item> elements inside <skills>.</item>