Below Python code I am using that throws error, i tried readlines, json.loads as well but that doesnt seem to woork as well
with open('/Users/akshayarora/PythonCodes/Capstone1/Delhi.json') as data_file:
provinces_json = json.load(data_file)
var dataset = {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"City": "Delhi",
"State": "Delhi"
},
"geometry": {
"type": "Point",
"coordinates": [
77.266052,
28.68161
]
}
]
}
}