Module:JSON/testcases

From Guild of Archivists

Documentation for this module may be created at Module:JSON/testcases/doc

local json = require('Module:JSON')
local p = {}
local test = {}
 
function p.hello()
	test = json.decode('{\'Hello\':\'测试\'}');
 
	return test['Hello']
end
 
return p