JsonSerializer.Deserialize returns an empty object with null properties
I try to parse a response by the OSRM map matching service using the following code (here a .NET Fiddle too): namespace OsrmMapMatch { public class OsrmResponse { public string code; public OsrmLeg[] legs; } public class OsrmLeg { public…