YamlKnownNamingPolicy enum
The YamlNamingPolicy to be used at run time.
Namespace: System.Text.Yaml.Serialization ยท Assembly: Styml.dll
public enum YamlKnownNamingPolicy
The YamlNamingPolicy to be used at run time.
FieldsLink to this heading
| Name | Value | Description |
|---|---|---|
Unspecified |
0 | Specifies that YAML property names should not be converted. |
CamelCase |
1 | Specifies that the built-in YamlNamingPolicy.CamelCase be used to convert YAML property names. |
SnakeCaseLower |
2 | Specifies that the built-in YamlNamingPolicy.SnakeCaseLower be used to convert YAML property names. |
SnakeCaseUpper |
3 | Specifies that the built-in YamlNamingPolicy.SnakeCaseUpper be used to convert YAML property names. |
KebabCaseLower |
4 | Specifies that the built-in YamlNamingPolicy.KebabCaseLower be used to convert YAML property names. |
KebabCaseUpper |
5 | Specifies that the built-in YamlNamingPolicy.KebabCaseUpper be used to convert YAML property names. |
PascalCase |
6 | Specifies that the built-in YamlNamingPolicy.PascalCase be used to convert YAML property names. |