Using PHP, I have decoded this JSON Response..
Array ( [Request] => Array ( [RequestGuid] => 4ca35135-2560-42ef-bd63-6b22cbf369ed [PackageId] => c1bf0061-b0b7-4f71-8a9a-43d6e468e5ec [PackageVersion] => 2 [ResponseVersion] => 2 [DataKeys] => Array ( [Vrm] => KM14AKK ) ) [Response] => Array ( [StatusCode] => Success [StatusMessage] => Success [StatusInformation] => Array ( [Lookup] => Array ( [StatusCode] => Success [StatusMessage] => Success [AdviceTextList] => Array ( ) ) )
When I run...
$data = json_decode($response, true);
for ($i=0;$i<count($jsonArray);$i++){
echo $jsonArray[$i];
}
I get the error...
Notice: Undefined offset: 0
Any quick pointers as to how to access data in this feed, arrays always blag my head, I can see there is no key in this one?
Thanks.