Progetto H — API Reference API & Scripting Documentation
Static function Shared

TOML.Dump

Returns a string representing value encoded in TOML

Syntax

Lua
TOML.Dump(value)

Parameters

Name Type Default Description
value table the table that will become TOML

Returns

  • string the table in TOML

Examples

Stringifies a Lua table
local encoded_value = TOML.Dump({ 1, 2, 3, { x = 10, y = Vector(1, 2, 3) }, "he" })