YamlSerializerDefaults enum
Signifies what default options are used by YamlSerializerOptions.
Namespace: System.Text.Yaml ยท Assembly: Styml.dll
public enum YamlSerializerDefaults
Signifies what default options are used by YamlSerializerOptions.
FieldsLink to this heading
| Name | Value | Description |
|---|---|---|
General |
0 | Specifies that general-purpose values should be used. These are the same settings applied if a YamlSerializerDefaults isn't specified. |
Web |
1 | Specifies that values should be used more appropriate to web-based scenarios. |
Strict |
2 | Specifies that stricter policies should be applied when deserializing from YAML. |