You can use the JsonConvert.DeserializeXmlNode method of JSON.NET to convert from the json string to Xmldocument as shown below.
How to Convert a string in JSON.NET to XML in C# ?
string input = "<Sample Json string>"; XmlDocument doc = JsonConvert.DeserializeXmlNode(input);
Leave a Reply