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
With the new JSON source generator, we now have a few programming models for JSON (de)serialization:
(De)serialization based on runtime reflection
(De)serialization based on compile-time type metadata gathering (metadata source gen mode)
Optimized serialization using Utf8JsonWriter directly
We should describe any feature and semantic differences between them, e.g. source-gen lack of support for init-only property deserialization (dotnet/runtime#58770), lack of support for private members.
We should also describe feature differences in fast-path mode vs metadata serialization mode - dotnet/runtime#51945 (comment).