|
|
|
|
|
by nishs
1229 days ago
|
|
TOML is a bad file format for human configuration. For example, in the following file [hosts]
"example.org" = "localhost:8000"
"foo.com" = "localhost:9000"
"sub.example.com" = "localhost:9002"
certfile = "path/to/cert.pem"
keyfile = "path/to/key.pem"
Ordinary human readers would generally think that the hosts table has 3 entries. But TOML considers certfile and keyfile to also be entries in the hosts table.TOML has no way to end a [table] on its own; tables continue until EOF or until the next [table]. |
|