|
5精币
{"ret":0,"msg":"","data":{"cominfo":{"COM3":{"com":"COM3","phone":"15875547740","ComStatus":"正在进行中...","statusno":0,"projects":{"qqcard":{"title":"QQ解封","status":"成功"},"misms":{"title":"优酷注册","status":"失败"}}},"COM4":{"com":"COM4","phone":"17095505590","ComStatus":"全部任务已完成,请换卡","statusno":1,"projects":{"qqcard":{"title":"QQ解封","status":"成功"},"misms":{"title":"优酷注册","status":"成功"}}}}}}
怎么取出 cominfo后面的COM3和COM4
补充内容 (2017-4-3 15:12):
{"ret":0,"msg":"","data":{"cominfo":{"COM3":{"com":"COM3","phone":"15875547740","ComStatus":"正在进行中...","statusno":0,"projects":{"qqcard":{"title":"QQ解封","status":"成功"},"... |
最佳答案
查看完整内容
.版本 2
.支持库 spec
.局部变量 json, 类_json
.局部变量 i, 整数型
.局部变量 name, 文本型, , "0"
json.解析 (#常量1)
son.取数据文本 ()
json.取所有属性名 (name, “data.cominfo”)
.计次循环首 (取数组成员数 (name), i)
调试输出 (name )
.计次循环尾 ()
|