I'm getting this json respond from my Cube e-bike from a raspberry pi to my website looking like this:
{
"result": [
{
"telemetry": {
"actual.remaining.mileage": 26.81,
"position": {
"altitude": 0,
"direction": 0,
"latitude": 34.799687,
"longitude": 7.478863,
"satellites": 0,
"speed": 0
},
"position.altitude": 0,
"vehicle.mileage": 624.071
},
"connected": true
}
]
}
How can i access those with PHP i've tried looking on already existing threads but since my json got some names including "." i can't get it wo work.