How to serialize and deserialize geojson in C#
问题 Am trying to Deserialize an object to json where the location details should be converted to geojson format. Tried to achieve this using geojson.net nuget package but am not able to acheve the same. There are no examples available for geojson in net. My Object from request: public class Request { public int Id { get; set; } public string Name { get; set; } public Fence Fence { get; set; } } public class Fence { public int Type { get; set; } public List<PValues> Values { get; set; } } public