Module:Illegal-json-parse-demo

From MediaWiki.org
Jump to navigation Jump to search
Module documentation
local function demo_relaxed_parse()
	local tab = mw.text.jsonDecode('[6,7,8,]')
	return mw.text.jsonEncode(tab)
end

return { ['demo'] = demo_relaxed_parse }