I’m trying to save one object in an array as a collection variable but got stuck because they all have the same key.
Below is the response body
I want to save the 3rd object in the data array as a collection variable
{
"status": "success",
"message": "Fetched successfully",
"data": [
{
"id": 1,
"code": "560",
"name": "First object"
},
{
"id": 2,
"code": "304",
"name": "Second object"
},
{
"id": 3,
"code": "308",
"name": "Third object"
},
{
"id": 4,
"code": "328",
"name": "Fourth object"
}
]
}