Module:Illegal-json-parse-demo: Difference between revisions

From Bonkipedia
[[mw:]]>קיפודנחש
(test)
 
m (1 revision imported: Module Import)
 
(No difference)

Latest revision as of 18:20, 12 November 2022

Documentation for this module may be created at Module:Illegal-json-parse-demo/doc

local function demo_relaxed_parse()
	local tab = mw.text.jsonDecode('[6,7,8,]')
	return mw.text.jsonEncode(tab)
end

return { ['demo'] = demo_relaxed_parse }