Funzione statica
JSON.parse
Returns a value representing the decoded JSON string
Non ancora tradotto
Sintassi
JSON.parse(value)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
value
|
string | — | the JSON that will become a table |
Valore restituito
- any the json in table
Esempi
local decoded_value = JSON.parse('[1,2,3,{"x":10,"y":"Vector(1.0, 2.0, 3.0)"},"he"]')