I have an API
response that is returning in this format:
inventory({
"count": 40,
"vehicles": [{
"VehicleInfoId": 989889,
"StockNumber": 787878,
"make": "ram"
}]
});
I have tried:
$final = json_encode($response, true);
To try and parse the output with no luck. Any idea of how to approach parsing this response?
Thanks in advance.