I need help parsing this json, in this snippet there are only three items, but the list goes up to around 2000.
{"1":
{"Latitude":52.1643540,
"Longitude":-2.154353,
"Name":"AAA"
},
"2":
{"Latitude":53.13,
"Longitude":-2.13445,
"Name":"BBB"
},
"3":
{"Latitude":55.143243,
"Longitude":-2.45234,
"Name":"CCC"
}}
I want to produce a List of "Place" objects and I want the number to be used as an ID eg a class Place with properties PlaceId Latitude, Longitude, Name.
giving for the first list element:
place.PlaceId = 1
place.Latitude = 52.1643540
place.Longitude = 2.154353
place.Name = "AAA"