C#C
C#2y ago
M

AllowOutOfOrderMetadataProperties Does not deserialize TypeDiscriminator in .NET 9 Preview 3

Hi, I am using the new AllowOutOfOrderMetadataProperties when deserlaizing. My JSON objects have a field event: 'eventType' to Discriminate them, but when AllowOutOfOrderMetadataProperties = true the property is always null. Any ideas?
Was this page helpful?