Hi folks
I feel like this solution is staring me in the face but I can't quite seem to get there.
I'm pulling information, in xml or json, from an api. This is returning several paramaters, including an array as per below (in json format). Each of the below is for one specific job.
I am trying to pull the value for where the label equals x.
Name = Jim McJohn
Contact Details = 123456
Sales Exec = John McJim
[
{
"id": 32165,
"label": "Name",
"third_party_id": "",
"value": "Jim McJohn",
"type": "read_only"
},
{
"id": 987654,
"label": "Contact Details",
"third_party_id": "",
"value": "123456",
"type": "read_only"
},
{
"id": 321456,
"label": "Sales Exec",
"third_party_id": "",
"value": "John McJim",
"type": "not_shown"
},
]
I feel this should be really simple but it's just catching me out at the moment. Any help anyone could offer would be very much appreciated!
Thank you in advance.