July 2019
Intermediate to advanced
502 pages
14h
English
Enter TOML (https://github.com/toml-lang/toml)—Tom's Obvious Minimal Language. TOML is like an INI file on steroids. It is the least known of all the formats, but it has started to gain momentum since it is used by Cargo, Rust's package manager. TOML is between JSON and YAML on the expressiveness spectrum. It supports autodetected data types and comments, but it's not as powerful as YAML. That said, it is the easiest for humans to read and write. It supports nesting mostly via dot notation as opposed to indentation.
Here is an example of a TOML file; see how readable it is:
# This is how to comment in TOML.title = "A TOML Example"[owner]name = "Gigi Sayfan"dob = 1968-09-28T07:32:00-08:00 # First class dates# Simple section with ...