|
|
|
|
|
by barosl
4221 days ago
|
|
Regarding the configuration formats, I would recommend TOML. In fact, I hated it because it seemed to be just "another standard" that unnecessarily adds dependency. But after using Rust, whose package manager forces me to write the package configuration in TOML, I found the format is more like "JSON designed for configuration file." As you said, JSON is full of ':', '{' and '}'. And it is natural because it started from data interchange format, not for handwriting. TOML solves this problem very well IMHO. Also, unlike XML that requires an external structure to validate the types of the values, TOML values have types, just like JSON. |
|