I'm trying to deserialize some XML to a structure and having issues getting it right. Any help would be appreciated.
Here is sample of XML
<?xml version="1.0" encoding="UTF-8"?>
-<Destinations>
-<Destination>
<DestinationName>Alaska</DestinationName>
</Destination>
-<Destination>
<DestinationName>California</DestinationName>
</Destination>
</Destinations>
Here is structure which is not working. The JSON only gets one record in it. What am I doing wrong?
strDestinationName is Structure
DestinationName is string
END
strDestination is Structure
Destination is strDestinationName
END
strDestinations is Structure
Destinations is array of strDestination
END