TomlDottedKeyHandling Enum
Specifies how member names and dictionary keys containing '.' are written.
public enum TomlDottedKeyHandlingRemarks
Only writing is affected. A key read from TOML is a single key, so a document written with TomlDottedKeyHandling.Expand is read back as nested tables, and a model whose member names or dictionary keys contain '.' does not round-trip with it.
Fields
| Name | Value | Description |
|---|---|---|
Literal | 0 | Treat keys containing '.' as a literal key name by quoting/escaping as needed. |
Expand | 1 | Treat keys containing '.' as a dotted path and expand into subtables. This is a write-only layout: the subtables are read back as nested tables. |