This project has moved and is read-only. For the latest updates, please go here.

Convert Json to Xml without schema validation

Sep 28, 2010 at 5:12 AM
Edited Sep 28, 2010 at 5:15 AM


From the client I receive json string which contains Xml content and  want to convert back to XDocument using JsonConvert class Deserialize method. It throws an error if the json string contains the noNamespaceSchemaLocation attribute. I just want to convert Xml without the Xsd file validation which is specified in the noNamespaceSchemaLocation attribute.

Can you please let me know if there is any way in JSON.NET