json数据提取问题

发布于 2020-03-08 00:57:18

{"code":1,"msg":"获取成功","data":[{"id":"3","orderid":"20190124183943365140494","phoneNumber":"432465475"}],"url":"","wait":3}

这个数据怎么提取出 20190124183943365140494 和 432465475

老师好,按你写的运行提示这个
QQ图片20200308010450.png

查看更多

关注者
0
被浏览
778
1 个回答
Evan
Evan 认证专家 2020-03-08
a = '{"code":1,"msg":"获取成功","data":[{"id":"3","orderid":"20190124183943365140494","phoneNumber":"432465475"}],"url":"","wait":3}'
 a = jsonDecode(a)
logDebug(a.data[1].orderid)

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览