toml

wscript stdlib module

TOML parse / serialize over the Value type; fails on Null or non-map top levels.

use toml — TOML over the Value type.

functionsignature
parse(string) -> Result[Value, string] (datetimes become strings)
to_string(Value) -> Result[string, string]
to_string_pretty(Value) -> Result[string, string]

TOML serialization fails on Null anywhere and on non-map top levels. INI lives in the host data module.