An API I call returns XML. I'm still learning fast, so I'm still unsure how to handle this. To call HTTP, I use the Alamofire library. A while back, I used JsonDeserializer to parse JSON from another API, which was easy. I've looked at a couple of XML parsers from here: https://github.com/vsouza/awulous-ios#xml–html, but I'm having some problems.
Is there any library that folks from this subreddit can recommend parsing XML from HTTP responses?
And would anyone recommend converting XML to JSON, or is it a dumb idea? If possible, how can I achieve it? I think I could JsonSerialize the HTTP response.
Example XML response.
<GroupMessage Id = "1473659" ElementId = "185385" AuthorUserId = "18056" Updated = "2019-07-22T23: 22: 41.063" Subject = "Subject 3" Body = "Body 3" /