Skip to main content

Module toml

Module toml 

Source
Expand description

TOML documents as HOCON config.

TOML’s types line up with HOCON’s apart from dates: HOCON has no datetime, so all four TOML date-time types become their RFC 3339 string forms, which is the honest representation rather than a lossy number (spec F4.2).

Functions§

parse
Read TOML text.
parse_file
Read a TOML file, using its path as the origin description.