C# xml转json(xml、json相互转换)
[HttpGet] public IHttpActionResult XMLToJSON( ) { var xml = @"<?xml version=""1.0"" encoding=""utf -8""?>" + "<ArrayOfString>&q