Я очень плохо знаком с кодированием. Я просмотрел много примеров в Интернете, но просто не могу найти то, что искал.
https://data.calgary.ca/resource/k7p9-kppz.json
ВОЗВРАЩЕНО JSON:
[
{
":@computed_region_4a3i_ccfj": "1",
":@computed_region_4b54_tmc4": "8",
":@computed_region_kxmf_bzkv": "29",
":@computed_region_p8tp_5dkv": "5",
"description": "Glenmore Trail / 14 Street SW (West)",
"latitude": "50.9938095441965",
"location": {
"latitude": "50.9938095441965",
"longitude": "-114.094978074903",
"human_address": "{\"address\": \"\", \"city\": \"\", \"state\": \"\", \"zip\": \"\"}"
},
"longitude": "-114.094978074903",
"quadrant": "SW",
"url": {
"url": "http://trafficcam.calgary.ca/loc111.jpg"
}
},
{
":@computed_region_4a3i_ccfj": "2",
":@computed_region_4b54_tmc4": "7",
":@computed_region_kxmf_bzkv": "62",
":@computed_region_p8tp_5dkv": "7",
"description": "Memorial Drive / 9 Street NW",
"latitude": "51.0536259017801",
"location": {
"latitude": "51.0536259017801",
"longitude": "-114.081180764729",
"human_address": "{\"address\": \"\", \"city\": \"\", \"state\": \"\", \"zip\": \"\"}"
},
"longitude": "-114.081180764729",
"quadrant": "NW",
"url": {
"url": "http://trafficcam.calgary.ca/loc59.jpg"
}
},
Я пытаюсь получить description
и url
.
У меня нет проблем с получением description
, но когда я пытаюсь получить url
, выдается ошибка.