This question already has an answer here:
I have the following JSON data, I would like to look up the stock_code ADH and return its company_name. How do I do this in PHP?
Thank you!
[
{
"stock_code": "3PL",
"company_name": "3P Learning Limited",
"sector": "Consumer Discretionary"
},
{
"stock_code": "ADH",
"company_name": "Adairs Limited",
"sector": "Consumer Discretionary"
},
{
"stock_code": "AAU",
"company_name": "Adcorp Australia",
"sector": "Consumer Discretionary"
}
]
</div>