Map JSON object to C# class property array
问题 JSON { "SoftHoldIDs": 444, "AppliedUsages": [ { "SoftHoldID": 444, "UsageYearID": 223232, "DaysApplied": 0, "PointsApplied": 1 } ], "Guests": [ 1, 2 ] } In the above JSON SoftholdIDs is integer and AppliedUsages is class array property in C# Model Issue is --How we can map JSON to class property. Class code public class ReservationDraftRequestDto { public int SoftHoldIDs { get; set; } public int[] Guests { get; set; } public AppliedUsage[] AppliedUsages { get; set; } } public class