我试图将以下对象解析为C#对象。 json元素如下所示:
{
"type": "node",
"id": 101440589,
"lat": 52.0952096,
"lon": 5.1266853,
"tags": {
"addr:city": "Utrecht",
"addr:housenumber": "44",
"addr:postcode": "3572CA",
"addr:street": "Wittevrouwensingel",
"amenity": "restaurant",
"contact:website": "http://spaghetteria-pastabar.nl/",
"cuisine": "italian",
"name": "Spaghetteria",
"old_name": "Kimono",
"source": "BAG",
"source:date": "2014-02-11"
}
},
问题是从标签列表中获取值。 C#不喜欢名字中的:我该怎么做呢?提前谢谢!