Closed StarlightIbuki closed 1 year ago
We cannot tell empty Lua tables from arrays. This PR introduces metatable for them to solve the issue. This is an alternative solution to #240. We make use of OpenResty/lua-cjson's empty_array_mt.
OpenResty/lua-cjson
empty_array_mt
Closing as the issue is solved.
We cannot tell empty Lua tables from arrays. This PR introduces metatable for them to solve the issue. This is an alternative solution to #240. We make use of
OpenResty/lua-cjson
'sempty_array_mt
.