I'm new to JSON and I'm trying to convert JSON data to C# class, but I always get errors when converting to C# entity class. Can someone tell me how to properly convert the following JSON data to C# class? Thank you very much! orz
[
{
"place_id":121943890,
"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright",
"osm_type":"way",
"osm_id":195289214,
"boundingbox":["28.0650511","28.0769594","112.9936342","113.0111091"],
"lat":"28.07081905",
"lon":"113.002623874342",
"display_name":"Changsha",
"class":"amenity",
"type":"university",
"importance":0.11100000000000002,
"icon":"https://nominatim.openstreetmap.org/images/mapicons/education_university.p.20.png",
"geojson":{
"type":"Polygon",
"coordinates":[
[
[112.9936342,28.0740059],
[112.9957532,28.0699078],
[112.9968442,28.0691153],
[112.9970274,28.0689822],
[113.0003451,28.0669209],
[113.0012613,28.0650511],
[113.0111091,28.0676428],
[113.0096377,28.0717303],
[113.0084561,28.0746411],
[113.0074304,28.0769594],
[113.0015116,28.0756923],
[113.0011744,28.0756201],
[112.9936342,28.0740059]
]
]
}
}
]