You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will create a JSON file with the following content:
{
"Type": "TEST",
"My Numbers": [1, 2, 3.5]
}
Remarks:
Lua tables are automatically mapped to JSON structures.
If a table contains only consecutive integer keys starting at 1, it is written as a JSON array. Otherwise, it is written as a JSON object with string keys.
Lua values are converted as follows:
Lua Type
JSON equivalent
table (array-like)
JSON array [...]
table (key/value)
JSON object {...}
string
JSON string
number
JSON number
boolean
JSON true / false
nil
JSON null
Only string keys are written for JSON objects. Non-string keys are ignored.
Unsupported Lua types (e.g. functions, userdata) are written as null.