I have a json that the new System.Text.Json.JsonSerializer.Deserialize
serialize as List
with the correct numbers of e
The default behavior of the System.Text.Json
deserializer is to match properties as case sensitive. You need to pass options telling it to match case insensitive:
using System.Text.Json;
JsonSerializer.Deserialize<T>(json_data, new JsonSerializerOptions
{
PropertyNameCaseInsensitive = true
});