原文:C#将XML转换成JSON转换XML using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using Newtonsoft.Json; namespace JSonConverter { class Program { static void Main(string[] args) { string xml = "<Test>
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml; using Newtonsoft;//此方法需单独下载 namespace ThumbsLotteryTicket.MyMethond { public class XML_JSON { /// <summary> /// 返回指定节点下信息的JSON格式字符串 /// </summa