|
5精币
{"1":"http:\/\/www.mgtv.com\/b\/341078\/9370361.html","2":"http:\/\/www.mgtv.com\/b\/341078\/9371614.html","3":"http:\/\/www.mgtv.com\/b\/341078\/9371641.html","4":"http:\/\/www.mgtv.com\/b\/341078\/9371713.html","5":"http:\/\/www.mgtv.com\/b\/341078\/9371759.html","6":"http:\/\/www.mgtv.com\/b\/341078\/9371774.html","7":"http:\/\/www.mgtv.com\/b\/341078\/9379190.html","8":"http:\/\/www.mgtv.com\/b\/341078\/9379221.html","9":"http:\/\/www.mgtv.com\/b\/341078\/9392493.html","10":"http:\/\/www.mgtv.com\/b\/341078\/9392498.html","11":"http:\/\/www.mgtv.com\/b\/341078\/9399425.html","12":"http:\/\/www.mgtv.com\/b\/341078\/9399467.html","13":"http:\/\/www.mgtv.com\/b\/341078\/9402192.html","14":"http:\/\/www.mgtv.com\/b\/341078\/9402217.html","15":"http:\/\/www.mgtv.com\/b\/341078\/9402210.html","16":"http:\/\/www.mgtv.com\/b\/341078\/9402218.html","17":"http:\/\/www.mgtv.com\/b\/341078\/9463217.html","18":"http:\/\/www.mgtv.com\/b\/341078\/9463249.html","19":"http:\/\/www.mgtv.com\/b\/341078\/9463277.html","20":"http:\/\/www.mgtv.com\/b\/341078\/9463326.html","21":"http:\/\/www.mgtv.com\/b\/341078\/9525072.html","22":"http:\/\/www.mgtv.com\/b\/341078\/9525078.html","23":"http:\/\/www.mgtv.com\/b\/341078\/9525081.html","24":"http:\/\/www.mgtv.com\/b\/341078\/9525097.html"}
这个json怎么取成员数取出24
|
最佳答案
查看完整内容
.版本 2
.支持库 spec
.局部变量 Json, 类_json
.局部变量 局_计次, 整数型
.局部变量 局_数组, 文本型, , "0"
调试输出 (Json.解析 (#常量1))
Json.取所有属性名 (局_数组)
.计次循环首 (取数组成员数 (局_数组), 局_计次)
调试输出 (Json.取通用属性 (“['” + 局_数组 [局_计次] + “']”))
.计次循环尾 ()
补充内容 (2020-8-30 19:44):
24的话,就直接:
JSON.取通用属性 (“['24']”)
...
|