TOML (Tom's Obvious Minimal Language) is a configuration file format, like YAML, that prioritizes readability and unambiguity.
It's essentially a competitor to [[YAML]], [[Pkl]], and to some extent [[JSON]].
It and YAML have almost fully overlapped use cases. TOML is harder to mess up, though, and it enforces a couple of other conditions that make it nice.
- Enforced unambiguous [[Hash Table]] reference (everything is indexed to dot notation)
- Explicit support for dates, times, and datetimes
# Example
```toml
# This is a TOML document
title = "TOML Example"
[owner]
name = "Tom Preston-Werner" # indexed to "owner.name"
dob = 1979-05-27T07:32:00-08:00
[database]
enabled = true
ports = [ 8000, 8001, 8002 ]
data = [ ["delta", "phi"], [3.14] ]
temp_targets = { cpu = 79.5, case = 72.0 }
[servers]
[servers.alpha]
ip = "10.0.0.1"
role = "frontend"
[servers.beta]
ip = "10.0.0.2"
role = "backend"
```
****
# More
## Source
- https://toml.io/en/
## Related