以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 请教如果遍历获取JSON的参数名 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=186343) |
-- 作者:jnletao -- 发布时间:2023/4/23 12:07:00 -- 请教如果遍历获取JSON的参数名 {"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
|
-- 作者:有点蓝 -- 发布时间:2023/4/23 12:08:00 -- http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&replyID=175982&ID=175539&skin=1
|