local p = {}
local Gjson = mw.text.jsonDecode(mw.getCurrentFrame():expandTemplate{ title = 'Songlist' } )
function p.main()
local json = Gjson
s = #json["songs"]
return s
end
c = nil
function p.test()
if c==nil then return '无值' end
c = 2
return '有值'
end
return p