0

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
}
Heretic Monkey
  • 11,078
  • 7
  • 55
  • 112

0 Answers0