【C#】Json转换Xml真的有那么麻烦吗?用两句话真正搞定Json转Xml
XmlDictionaryReader reader = JsonReaderWriterFactory.CreateJsonReader(Encoding.UTF8.GetBytes(xml), XmlDictionaryReaderQuotas.Max);
XmlDocument xdoc = new XmlDocument();
xdoc.Load(reader);
XmlDocument xdoc = new XmlDocument();
xdoc.Load(reader);