I'm a fresher in JSON coding. I got a sample Google API geolocation console from https://developers.google.com/maps/documentation/business/geolocation/ site.
{'cellTowers': [
{
'cellId': 21532831,
'locationAreaCode': 2862,
'mobileCountryCode': 214,
'mobileNetworkCode': 7
}
]}
But, i'm getting below errors.
{
"error": {
"errors": [
{
"domain": "global",
"reason": "parseError",
"message": "Parse Error",
}
],
"code": 400,
"message": "Parse Error"
}
}
Please provide me sample JSON code to get latitude and longitude values from Google API geolocation.