Static function
JSON.parse
Returns a value representing the decoded JSON string
Syntax
JSON.parse(value)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
value
|
string | — | the JSON that will become a table |
Returns
- any the json in table
Examples
local decoded_value = JSON.parse('[1,2,3,{"x":10,"y":"Vector(1.0, 2.0, 3.0)"},"he"]')