|
{
"data": [{
"id": {
"entityType": "ASSET",
"id": "281ca630-bcff-11ea-97ec-874b738f9ede"
},
"createdTime": 1593761466387,
"additionalInfo": null,
"tenantId": {
"entityType": "TENANT",
"id": "8bb207b0-aabe-11ea-98ed-3b65bc2c9a10"
},
"customerId": {
"entityType": "CUSTOMER",
"id": "d9f6be40-0214-11eb-a21e-d9a930e64fe8"
},
"name": "箱1",
"type": "地箱",
"label": null
}, {
"id": {
"entityType": "ASSET",
"id": "c32d9f30-1a8d-11eb-aa40-1be37b6a5bf7"
},
"createdTime": 1604048173219,
"additionalInfo": null,
"tenantId": {
"entityType": "TENANT",
"id": "8bb207b0-aabe-11ea-98ed-3b65bc2c9a10"
},
"customerId": {
"entityType": "CUSTOMER",
"id": "13814000-1dd2-11b2-8080-808080808080"
},
"name": "箱2",
"type": "地箱",
"label": "海河区"
}, {
"id": {
"entityType": "ASSET",
"id": "2328f0b0-3073-11eb-8d0e-f931716a1185"
},
"createdTime": 1606455663419,
"additionalInfo": null,
"tenantId": {
"entityType": "TENANT",
"id": "8bb207b0-aabe-11ea-98ed-3b65bc2c9a10"
},
"customerId": {
"entityType": "CUSTOMER",
"id": "13814000-1dd2-11b2-8080-808080808080"
},
"name": "箱3",
"type": "地箱",
"label": null
}],
"nextPageLink": null,
"hasNext": false
};
我想遍历出data.id.id的属性值
本来想着用迭代,但是第一层id属于对象了就取不出来了
请教一下大佬解惑
|
|