YamlUnmappedMemberHandling enum
Determines how YamlSerializer handles YAML properties that cannot be mapped to a specific .NET member when deserializing object types.
Namespace: System.Text.Yaml.Serialization ยท Assembly: Styml.dll
public enum YamlUnmappedMemberHandling
Determines how YamlSerializer handles YAML properties that cannot be mapped to a specific .NET member when deserializing object types.
FieldsLink to this heading
| Name | Value | Description |
|---|---|---|
Skip |
0 | Silently skips any unmapped properties. This is the default behavior. |
Disallow |
1 | Throws an exception when an unmapped property is encountered. |