Skip to content

Instantly share code, notes, and snippets.

View otavionetoca's full-sized avatar

Otavio Araujo otavionetoca

  • São Paulo - Brasil
View GitHub Profile
@otavionetoca
otavionetoca / TableToStringifiedJSON.lua
Last active April 23, 2021 16:26
TableToStringifiedJSON
function TableToStringifiedJSON(table)
if type(table) ~= "table" then
Package:Log("[UTILS] Param expected as type table")
return
end
local stringified = ""
for k, _ in pairs(table) do
if type(k) == "table" then
TableToStringifiedJSON(k)