.net8 AOT case insensitive ReadFromJsonAsync #95528
Replies: 1 comment
-
I found the solution of using JsonSourceGenerationOptions [JsonSourceGenerationOptions(PropertyNameCaseInsensitive = true)] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How do we deserialize json case insensitive when IsTrimmable is enabled?
I don't see any method that takes JsonTypeInfo and JsonSerializerOptions
https://learn.microsoft.com/en-us/dotnet/api/system.net.http.json.httpcontentjsonextensions.readfromjsonasync?view=net-8.0
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions