Foxtable(狐表)用户栏目专家坐堂 → [求助]JSON相关问题


  共有3205人关注过本帖树形打印复制链接

主题:[求助]JSON相关问题

帅哥哟,离线,有人找我吗?
zto001
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:六尾狐 帖子:1489 积分:10602 威望:0 精华:0 注册:2018/10/16 11:42:00
[求助]JSON相关问题  发帖心情 Post By:2019/11/24 14:09:00 [显示全部帖子]

Dim jos As String="{ ""OrderCode"": ""012657018199"", ""ShipperCode"": ""SF"", ""PayType"": 1, ""MonthCode"": ""1234567890"", ""ExpType"": 1, ""Cost"": 1.0, ""OtherCost"": 1.0, ""Sender"": { ""Company"": ""LV"", ""Name"": ""Taylor"", ""Mobile"": ""15018442396"", ""ProvinceName"": ""上海"", ""CityName"": ""上海市"", ""ExpAreaName"": ""青浦区"", ""Address"": ""明珠路"" }, ""Receiver"": { ""Company"": ""GCCUI"", ""Name"": ""Yann"", ""Mobile"": ""15018442396"", ""ProvinceName"": ""北京"", ""CityName"": ""北京市"", ""ExpAreaName"": ""朝阳区"", ""Address"": ""三里屯街道"" }, ""Commodity"": [ { ""GoodsName"": ""鞋子"", ""GoodsQuantity"": 1, ""GoodsWeight"": 1.0 }, { ""GoodsName"": ""衣服"", ""GoodsQuantity"": 1, ""GoodsWeight"": 1.0 }, ], ""AddService"": [ { ""Name"": "" INSURE "", ""Value"": ""1000"" }, { ""Name"": ""COD"", ""Value"": ""1020"" "" CustomerID "": ""1234567890"" } ], ""Weight"": 1.0, ""Quantity"": 1, ""Volume"": 0.0, ""Remark"": ""小心轻放"" }"


这样的json上传结果如下,这样对吗?怎么有那么多'\'?
[{ \"OrderCode\": \"012657018199\", \"ShipperCode\": \"ZTO\", \"PayType\": 1, \"MonthCode\": \"ZTO771569306783171\", \"ExpType\": 1, \"Cost\": 1.0, \"OtherCost\": 1.0, \"Sender\": { \"Name\": \"Taylor\", \"Mobile\": \"15018442396\", \"ProvinceName\": \"上海\", \"CityName\": \"上海市\", \"ExpAreaName\": \"青浦区\", \"Address\": \"明珠路\" }, \"Receiver\": {\"Name\": \"Yann\", \"Mobile\": \"15018442396\", \"ProvinceName\": \"北京\", \"CityName\": \"北京市\", \"ExpAreaName\": \"朝阳区\", \"Address\": \"三里屯街道\" }, \"Commodity\": [ { \"GoodsName\": \"鞋子\", \"GoodsQuantity\": 1, \"GoodsWeight\": 1.0 }, { \"GoodsName\": \"衣服\", \"GoodsQuantity\": 1, \"GoodsWeight\": 1.0 }, ], \"AddService\": [ { \"Name\": \" INSURE \", \"Value\": \"1000\" }, { \"Name\": \"COD\", \"Value\": \"1020\" \" CustomerID \": \"1234567890\" } ], \"Weight\": 1.0, \"Quantity\": 1, \"Volume\": 0.0, \"Remark\": \"小心轻放\" }

 回到顶部