我正在C#中工作。我想在我的應用程序中解析JSON。但不知道如何解析Json。我在Google上搜索了很多,但找不到足夠的材料。 我的JSON是..如何在C#.NET中解析Json
[{"id":"267","name":"Macmillan Nursing Service","telephone":"01595 743347",
"addr1":"Gilbert Bain Hospital","town":"Shetland","postcode":"ZE1 0TB",
"lat":"60.1505513","lng":"-1.1546642","distance":"3278.42778426762"},
{"id":"355","name":"Orkney Macmillan House","telephone":"01856 888249",
"addr1":"Balfour Hosptial","town":"","postcode":"KW15 1BH","lat":"58.9767143",
"lng":"-2.9649377","distance":"3421.52913012431"},
{"id":"57",
"name":"Community Macmillan Nurse","telephone":"01779 482568",
"addr1":"Peterhead Health Centre","town":"Peterhead",
"postcode":"AB422XA","lat":"57.5034159","lng":"-1.7939854",
"distance":"3425.64696427705"},
{"id":"287","name":"Macmillan
Service","telephone":"01955 880397","addr1":"Caithness
General Hospital","town":"Wick","postcode":"KW1 5NS","lat":"58.4415",
"lng":"-3.09651","distance":"3452.34795736445"},
{"id":"288","name":"Macmillan Service",
"telephone":"01888 564015","addr1":"The Health Centre","town":"Banff","postcode":"AB45
1HY","lat":"57.6686963","lng":"-2.5256111","distance":"3457.45181828202"}]
我被困在這項工作好心幫我..
任何幫助將是巨大的。或者關於如何解析Json的一點線索也就足夠了。
你是什麼意思,「遠程」?在這種情況下什麼是本地和什麼是遠程? –
「遠程解析JSON」是什麼意思?我認爲你的措辭可能會誤導,如果你想要做的是下載一個JSON字符串,然後在本地使用它... – ZombieSheep
以及我只是想從互聯網訪問這個JSON這裏是鏈接..http:// www。 myhealthpal.com/charity_app/hospice.php?lat=57.155313&lan=57.155313&q=0 –