以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  这种格式的怎么解析。我按照帮助没解析出来  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=143711)

--  作者:zto001
--  发布时间:2019/12/2 15:04:00
--  这种格式的怎么解析。我按照帮助没解析出来
\'{"code":"0","msg":"下单成功","Data":[{"OrderNo":"T100001111","WaybillSn":"58706415","Trackingno":"822813462278"}]}

Dim jo As JObject = JObject.Parse(hc.GetData)
\'Output.Show(jo("msg"))
For Each jt As JToken In jo("data")
    Output.Show(jt("Trackingno").ToString)
Next

--  作者:有点蓝
--  发布时间:2019/12/2 15:13:00
--  
数组:http://www.foxtable.com/mobilehelp/topics/0140.htm,示例四
--  作者:zto001
--  发布时间:2019/12/2 15:53:00
--  
Dim hh As String = "{\'code\':\'0\',\'msg\':\'下单成功\',\'Data\':[{\'OrderNo\':\'T100001111\',\'WaybillSn\':\'58706415\',\'Trackingno\':\'822813462278\'}]}"
Dim jo As JObject = JObject.Parse(hh)
For Each jt As JToken In jo("Data")
   Output.Show(jt)
Next
好像不对

--  作者:有点蓝
--  发布时间:2019/12/2 16:09:00
--  
请认真看示例四,使用数组!数组!
--  作者:zto001
--  发布时间:2019/12/2 16:09:00
--  
Dim hh As String = "{\'code\':\'0\',\'msg\':\'下单成功\',\'Data\':[{\'OrderNo\':\'T100001111\',\'WaybillSn\':\'58706415\',\'Trackingno\':\'822813462278\'}]}"
Dim jo As JObject = JObject.Parse(hh)

For Each jt As JToken In jo("Data")
    Output.Show(jt("Trackingno").ToString )
Next