TomlDuplicateKeyHandling Enum
Specifies behavior when duplicate keys are encountered.
public enum TomlDuplicateKeyHandlingRemarks
This setting only applies to keys assigned a value twice. A document that redefines a table, extends an inline table or a static array, or assigns a value to a key defined as a table is invalid TOML and is always rejected.
Fields
| Name | Value | Description |
|---|---|---|
Error | 0 | Reject duplicate keys, as required by the TOML specification. |
LastWins | 1 | Keep the last value for a key assigned more than once. |