2,462
社区成员
发帖
与我相关
我的任务
分享
{"time_used": 1203,
"thresholds": {"1e-3": 62.327, "1e-5": 73.975, "1e-4": 69.101},
"confidence": 90.662,
"request_id": "1498464734,bfc27199-17f8-437c-86f5-290a0816d0c3"}
With ScriptControl1
.Reset
.Language = "javascript"
.AddCode "var json = " & strFaceJSON & ";"
'获取三个参数的值
txtConfidence = .Eval("json.confidence")
txtTimeUsed = .Eval("json.time_used")
txtRequest_id = .Eval("json.request_id")
'thresholds或1e-3,1e-5,1e-4如何获取?
'
txtTemp = .Eval("thresholds") '只返回 [object object] 真是愁人 真是愁人 真是愁人
End Sub