下面是我的JSON&我希望从中获得单独的相机IDs
:
{
"requestId": "9016895864875078465",
"payload": {
"devices": [
{
"id": "8EQ45T14M2RJ9"
},
{
"id": "78G6432OP1118"
}
]
}
}
我使用
获得了两个ids
$.payload.devices[*].id
[
"8EQ45T14M2RJ9",
"78G6432OP1118"
]
,但如何获取单个相机ID