local mEncoderUtil = require('Module:EncoderUtil')
return {
build = function (frame)
local args = frame.args
if args['@parent'] then
local parent = frame:getParent()
if parent and parent.args then
return '{}'
end
args = parent.args
end
return mw.text.nowiki(mEncoderUtil._jsonEncode(args))
end
}