<?php
$str = '{
"points": [
[
"39.67495589920286",
"19.799004793167114"
],
[
"39.69503584333047",
"19.854623079299927"
],
[
"39.700847368881",
"19.89471673965454"
],
[
"39.77054750039529",
"19.96612787246704"
],
[
"39.791127230787914",
"19.956514835357666"
],
[
"39.83121363626412",
"19.849398136138916"
],
[
"39.80800856647987",
"19.793779850006104"
],
[
"39.80167855121973",
"19.70726251602173"
],
[
"39.809063512364865",
"19.66881036758423"
],
[
"39.75154536393759",
"19.617998600006104"
],
[
"39.67284188119943",
"19.664690494537354"
],
[
"39.64059509088576",
"19.709322452545166"
],
[
"39.65645604812829",
"19.747774600982666"
]
],
"meta": {
"lat" : "39.60330292590828",
"lng" : "19.88315624618531",
"type" : "roadmap",
"zoom" : "11"
}
}';
$json = json_decode($str, TRUE);
echo json_last_error();
preferences:
33.25 ms | 402 KiB | 5 Q