<?php
if(function_exists('json_last_error_msg'))
{
$json = '{
"bookindId":"30779265",
"timestamp":"1428447744",
"plate":"D-GO9872",
"cityId":"RLD",
"zoneId":"759",
"highDemandZones":[
"402",
"429",
"714",
"715",
"721",
"728",
"732",
"734",
"742",
"756",
"758",
"763"
],
"accountId":"151426",
"date":"20150408",
"formattedDate":"08.04.2015, 01:02 Uhr"
}';
print_r(json_decode($json), true); // Decode as array
echo 'Error: '.json_last_error_msg();
}
preferences:
39.02 ms | 406 KiB | 6 Q