Module:Sandbox/Vestrian24Bio/JSON table 2

require ('strict');

--[[--< M A I N >--

Function to convert JSON table to HTML table

]]

local function main (frame) local jsonTable = mw.text.jsonDecode (frame.args[1]); --	local jsonTable = mw.text.jsonDecode (frame); local html = " \n" html = html .. " \n" else html = html .. " " .. tostring(value) .. " \n" end html = html .. " \n" end end

generateRows(jsonTable) html = html .. " \n" return html end

----< E X P O R T S >

return { jsonToHtmlTable = main }