You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would require new extensions, similar to PostJsonAsync or ReceiveJson, but with an additionnal parameter (either JsonTypeInfo or JsonSerializerContext).
Or maybe it's already supported and I'm missing something?
Thanks
The text was updated successfully, but these errors were encountered:
Well, basically this new SG eliminates runtime reflection (amongst other improvements).
Which is critical for linker and native-aot stuff (aka the future of .NET).
The article explains the details of it, we can discuss the changes after you read it, nothing urgent.
Implementing overloads of methods like GetJsonAsync and PostJsonAsync which take in JsonTypeInfo or JsonSerializerContext as parameters will really help folks wanting to leverage source generators for improved JSON serialization performance, as well as AoT (like @tranb3r mentions).
Hi,
Is there any plan to support the new
System.Text.Json
source generator, in a future version ofFlurl
?https://devblogs.microsoft.com/dotnet/try-the-new-system-text-json-source-generator/
I think it would require new extensions, similar to
PostJsonAsync
orReceiveJson
, but with an additionnal parameter (eitherJsonTypeInfo
orJsonSerializerContext
).Or maybe it's already supported and I'm missing something?
Thanks
The text was updated successfully, but these errors were encountered: