Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Condiviso

TOML.Parse

Returns a value representing the decoded TOML string

Non ancora tradotto

Sintassi

Lua
TOML.Parse(value)

Parametri

Nome Tipo Predefinito Descrizione
value string the TOML that will become a table

Valore restituito

  • any the TOML in table

Esempi

Parses a TOML string into a Lua table
local decoded_value = TOML.Parse("my_table = [ 1, 2, 3 ]")