日期:2014-05-17  浏览次数:20848 次

如何将阿里巴巴接口返回来的JSON数据转化为C#的对像? 急求

    var json = {
        "result":
            {
                "total": 38,
                "toReturn":
                  [{
                      "sellerAlipayId": "2088302179419572",
                      "tradeType": "6",
                      "orderEntries":
                          [{
                              "id": 306623282075090,
                              "price": 2100,
                              "entryStatus": "waitsellersend",
                              "productPic": [
                                  "http://img.china.alibaba.com:80//img/order/trading/090/570/282326603/657902513_2115513935.310x310.jpg"
                              ],
                              "quantity": 1.0,
                              "productName": "日韩打底衫热销休闲时尚修身秋冬女装批发2011秋季新款长袖t恤",
                              "specInfo": [
                                  { "specValue": "灰色", "specName": "颜色" },
                                  { "specValue": "XL", "specName": "尺码" }
                         &nb