I want to take “label” from JSON response. Tried res.json().data.label but it did not work.
{
"data": [
{
"id": "test",
"label": "PAK",
"labelFormat": "[SE]-[IDX]",
}
],
"count": 5
}
I want to take “label” from JSON response. Tried res.json().data.label but it did not work.
{
"data": [
{
"id": "test",
"label": "PAK",
"labelFormat": "[SE]-[IDX]",
}
],
"count": 5
}