Module:GetJSON: Difference between revisions
From AlternateWiki
no edit summary
No edit summary |
No edit summary |
||
Line 31:
return value
end
Line 50 ⟶ 38:
if value ~= nil then
if type(value) == "table" then
if
-- Return the keys of the table
local str = ""
for
str = str ..
end
return frame:preprocess(str:sub(1, -2))
else
-- Return the values of the table
local str = ""
for
str = str ..
end
return frame:preprocess(str:sub(1, -2))
|