Foxtable(狐表)用户栏目专家坐堂 → 请教如果遍历获取JSON的参数名


  共有3571人关注过本帖树形打印复制链接

主题:请教如果遍历获取JSON的参数名

帅哥哟,离线,有人找我吗?
jnletao
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:四尾狐 帖子:941 积分:7786 威望:0 精华:0 注册:2013/7/7 13:37:00
请教如果遍历获取JSON的参数名  发帖心情 Post By:2023/4/23 12:07:00 [显示全部帖子]

{"data":{"creator":{"name":"张先生","username":"jdy-p31c4k6u3ltk","status":1,"type":0,"departments":[1]},"updater":{"name":"张先生","username":"jdy-p31c4k6u3ltk","status":1,"type":0,"departments":[1]},"deleter":null,"createTime":"2023-04-22T03:01:52.834Z","updateTime":"2023-04-22T03:01:52.834Z","deleteTime":null,"_widget_1682132419745":"单行文本单行文本单行文本","_widget_1682132419746":"2023-04-19T16:00:00.000Z","_id":"64434e20ed793700094be5a2","appId":"64434dbd209fd30007116fe9","entryId":"64434dc393d8b80008146372"}}

如上代码:如果遍历获取参数名:例如name,_widget_1682132419745,appId

 回到顶部