Converts table to JSON.
[json data] encode(table data)
--Data table to be converted local myTable = { first = "first item", second = "second item" } local generatedJSON = vEngine.json.encode(myTable) --Converts our table to JSON print(generatedJSON) --Prints generated JSON
Last updated 2 years ago