0
var stream = await response.Content.ReadAsStreamAsync();
var des = await JsonSerializer.DeserealizeAsync<IEnumerable<WorkingDaysDates>>(stream);
[JsonProperty(PropertyName = "RefDate3Before "]
public DateTime RefDate3Before { get; set;}
But when I test it, it returns the error: The JSON value could not be converted to System.Collections.Generic.Ienumerable
Include your JSON
– Bruno Warmling
Without seeing the JSON and the structure of
WorkingDaysDates
no way to guess the cause of the error... present a [MCVE]– Leandro Angelo
@Juansantos Solved or gave up?
– Leandro Angelo