I have already search here but can't finde any questions regrading this actually problem.
i got this code which is working until i have to phase the "lock.status" because of the "." the code fails and the json is coming from another site so i can't change it to be "_" or something else. So how can i use "." in this code?
$jsonObject = json_decode($result);
foreach ($jsonObject->result as $data) {
echo $data->lock.status;
}