local M = {}
M.hello = function ()
return "World"
end
M.parse_json_ensure_table = function(json)
local parsed = require("autosway.util").parse_json(json)
if type(parsed) ~= "table" then
error("Expected JSON result to be a table")
end
return parsed
end
return M