我正在连接一个使用Apache Axis和SOAP 1.2实现的外部Web服务。该Web服务返回一个类似下面的不规则对象数组。查看XML,我有xsi:type="soapenc:Array"。
在C#2和C#3中,最干净/最好的解析此数组的方法是什么?(我特别关注C#2,因此C#3解决方案只是为了兴趣。)
在C#2和C#3中,最干净/最好的解析此数组的方法是什么?(我特别关注C#2,因此C#3解决方案只是为了兴趣。)
- obj object[] {object[][]}
-[0] object {object[]} -[0] object {string} -[1] object {string}
-[1] object {object[]} -[0] object {string} -[1] object {bool}
-[2] object {object[]} -[0] object {string} -[1] object {object[]} -[0] object {object[][]} -[0] object[] -[0] object{string} -[1] object{string)