Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.​Text.​Json.​Serialization.​JsonUnmappedMemberHandling

Assembly: System.Text.Json

Determines how <see cref="T:System.Text.Json.JsonSerializer" /> handles JSON properties that cannot be mapped to a specific .NET member when deserializing object types.

Values

Skip
Silently skips any unmapped properties. This is the default behavior.
Disallow
Throws an exception when an unmapped property is encountered.