3.2版本lua不能使用module吗?

例如我一个文件 是 module(“json”,package.seeall)

在例外一个文件 require(“json”)
使用时 json.xxxx 就报错了。。
求解。。。