以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 怎么取出JSON 里面的某一数值 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=192966) |
-- 作者:sloyy -- 发布时间:2024/8/5 21:38:00 -- 怎么取出JSON 里面的某一数值 { "message": "执行成功", "msg": null, "renson": "执行成功", "code": 0, "data": [ { "fpxx": { "ddlsh": "202408051642094482", "status": 2, "_status": "开具成功", "fplxdm": "02", "_fplxdm": "数电普票", "gmfMc": "测试", "gmfDzdh": null, "qdfphm": "24452000000095404635", "skr": null, "fhr": null, "bz": "", "detailParam": [ { "fphxz": 0, "_fphxz": "正常行", "spmc": "龙腾苑", "dw": "㎡", "ggxh": null, "spbm": "5010101000000000000", "zxbm": null, "yhzcbs": 0, "lslbs": 0, "_lslbs": "正常税率", "zzstsgl": null, "sl": 91.83, "dj": 3709.9967330937602, "je": 340689.00, "bhsDj": 3403.666727609, "bhsJe": 312558.72, "slv": 0.090, "se": 28130.28 } ], "hwysfwdzfpmxbList": null, "jzfwTdys": null, "bdcTdys": { "bdcdz": "广西壮族自治区柳州市柳南区", "zlqqz": null, "kdsbz": "N", "cqzsh": null, "dw": "㎡", "wqhtbabh": null, "tdzzsxmbh": null, "hdjsjg": null, "sjcjhsje": null }, "lkysfwTdysList": null }, "hzfpxx": [] } ] } 我想取出 qdfphm 的值 ,要怎么写?
|
-- 作者:sloyy -- 发布时间:2024/8/5 21:49:00 -- [此贴子已经被作者于2024/8/5 21:51:03编辑过]
|
-- 作者:有点蓝 -- 发布时间:2024/8/5 21:59:00 -- jo("data")(0)("fpxx")("qdfphm").tostring |
-- 作者:sloyy -- 发布时间:2024/8/5 22:02:00 -- 晕 ,少了 tostring 难怪怎么都不对 |