Funzione statica
JSON.stringify
Returns a string representing value encoded in JSON
Non ancora tradotto
Sintassi
JSON.stringify(value)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
value
|
table | — | the table that will become JSON |
Valore restituito
- string the table in JSON
Esempi
local encoded_value = JSON.stringify({ 1, 2, 3, { x = 10, y = Vector(1, 2, 3) }, "he" })