TOML (Tom's Obvious, Minimal Language) is a configuration file format. It aims to be minimal and easy to read. TOML maps to a hash table clearly. Reading TOML into data structures should be easy in va...
TOML (Tom’s Obvious, Minimal Language) is a configuration file format. It aims to be minimal and easy to read. TOML maps to a hash table clearly. Reading TOML into data structures should be easy in various languages. TOML is often used for application configuration data. Before TOML existed, we used key-value property files.
This tutorial covers TOML file basics, advantages, disadvantages and supported editors. TOML is a new file format. It specifies configuration data similarly to YAML. Each software or application has configuration data.
TOML has some downsides. It is verbose and not DRY. Its hierarchies are difficult to infer from syntax alone. TOML overcomplicates things like YAML. TOML’s syntax determines data types (“syntax typing”).
Generally TOML configuration files load settings. Minecraft Forge loads settings from TOML files, for example.
Various programs like text editors can open TOML files. We advise using Sublime Text for managing TOML files. Though some other programs can also handle them.
As far as we know, the TOML file type cannot be converted to other formats. This is common for system, configuration and data files. They contain data exclusive to one software for its own purposes.