1

I am trying to access a website using C# and HttpWebRequest. I can get the response from the website but the response is in JSON. Is there any way to get the response in XML instead of JSON so I can use XmlDocument to parse through the information? I was asked to use XML instead of JSON...

Any help is appreciated! :)

josh4263
  • 11
  • 4

1 Answers1

0

No.what kind of response format all depends on the website. you just can follow the response format to make your logic

  • I can only get the response in JSON and for some reason, I am asked to utilize XML... So would I have to use JavaScript in order to DeSerialize the JSON string? (It's my first time doing JSON and accessing information from a website so I am lost...) – josh4263 Apr 15 '15 at 06:50
  • So I still haven't figured this out... I am trying to get information from spotify so api.spotify.com can you get xml from there? – josh4263 Apr 15 '15 at 15:18