I have a Xamarin.Forms App and get a response.Content in XML format. How to Deserialize the data in different types in different responses ex. string , object , list .
This is my code:
          client.DefaultRequestHeaders.Clear();
                    var response = await client.GetAsync($"api/users");
                    if (response.IsSuccessStatusCode)
                    {
                        var pom = await response.Content.ReadAsStringAsync();
                        ///// xml logic here
                        return pom;
                    }
                    else
                    {
                        return null;
                    }
UPDATE
I receive : <test> TEst </test>
how to convert that?
