PLAYGROUND (experimental)

load_toml

load_toml(filepath, [key], [timeout])

Load a TOML file (local or remote) and convert it in 'map' structure

Syntaxe

var data = load_toml("config.toml", key="xxx");

Arguments

NameRequiredDefaultDescription
filepathyes-Path to TOML file or URL
key--Specific key to retrieve (optional)
timeout--Network timeout in ms (optional)