# sample-toml-1.1.toml: uses features that are new in TOML 1.1.0. # Free sample from 99helpers.com/file-types/toml # A TOML 1.1 parser reads this file. A parser that only supports TOML 1.0 # must reject it: Python's tomllib before Python 3.15, for example, stops # with an error at the inline table below. Use it to find out which version # your tools support. # 1. An inline table spread over several lines, with a trailing comma # (TOML 1.0 requires inline tables to fit on one line, without one) owner = { name = "Ada Example", email = "ada@example.com", } # 2. New escapes in basic strings: \e is the escape character (U+001B), # \xHH is a code point up to 255 written in hex (here \xE9 is é) bold_red = "\e[1;31mAlert\e[0m" cafe = "caf\xE9" # 3. Seconds are optional in times and date-times backup_at = 03:15 maintenance = 2026-11-01T02:00