以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- json 编写格式 多个code码 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=107937) |
-- 作者:fubblyc -- 发布时间:2017/10/13 0:01:00 -- json 编写格式 多个code码 老师,多个code码要怎么写呢? { "card_id": "pDF3iY0_dVjb_Pua96MMewA96qvA", "code": [ "11111", "22222", "33333", "44444", "55555" ] } Dim url As String = "http://api.weixin.qq.com/card/code/deposit?access_token={0}" Dim hc As New HttpClient(CExp(url,Functions.Execute("GetAccessToken"))) Dim jo As New JObject Dim ja As New JArray jo("card_id") = "pPYXKt0eyQiWv4uIyKnNSHtaRbsc" jo("code") = {"12350","12351"} 这样写是不对的,要怎么写呢。。。特别是用表格,没100个code循环提交一次。 hc.Content = jo.ToString() jo = JObject.Parse(hc.GetData) [此贴子已经被作者于2017/10/13 0:04:07编辑过]
|
-- 作者:有点甜 -- 发布时间:2017/10/13 8:51:00 -- 参考
Dim jo As New JObject
|