This is a JSON response Array Snippet i am working on the array has about 300 plus elements i am focusing on the technologies array. I am using PHP i have tried both Foreach and for loops i can't seem to find the right sauce to get it cycling thru.
[
{
"url": "https://www.cdw.com",
"technologies": [
{
"slug": "digicert",
"name": "DigiCert",
"versions": [],
"trafficRank": 0,
"confirmedAt": 1637573508,
"categories": [
{
"id": 70,
"slug": "ssl-tls-certificate-authorities",
"name": "SSL/TLS certificate authorities"
}
]
},
{
"slug": "hubspot",
"name": "HubSpot",
"versions": [],
"trafficRank": 0,
"confirmedAt": 1637573508,
"categories": [
{
"id": 32,
"slug": "marketing-automation",
"name": "Marketing automation"
}
]
},
{
"slug": "mailchimp",
"name": "MailChimp",
"versions": [],
"trafficRank": 0,
"confirmedAt": 1637573508,
"categories": [
{
"id": 32,
"slug": "marketing-automation",
"name": "Marketing automation"
},
{
"id": 75,
"slug": "email",
"name": "Email"
}
]
},
{
"slug": "apc",
"name": "APC",
"versions": [],
"trafficRank": 380,
"confirmedAt": 1637573508,
"categories": [
{
"id": 99,
"slug": "shipping-carriers",
"name": "Shipping carriers"
}
]
},
What is the quickest and most efficient way to extract the data from the nested array. I am using php and have tried foreach and for loops they aren't really working well.