This question already has an answer here:
I am developing a system to get values from gGoogle Api Elevation with PHP. I have it working and when I get the value it returns as String in this format:
{ "results" : [ { "elevation" : 914.033935546875, "location" : { "lat" : -25.4499861, "lng" : -49.2339611 }, "resolution" : 152.7032318115234 } ], "status" : "OK" }
I want to get the value of the elevation in this result, can you help me to do this? thanks you.
</div>