xphip
xphip
Isn't a lib related issue but a third-party module limitation (`openresty/lua-nginx-module`). [https://github.com/openresty/lua-nginx-module/blob/.../src/ngx_http_lua_output.c#L285](https://github.com/openresty/lua-nginx-module/blob/b6d167cf1a93c0c885c28db5a439f2404874cb26/src/ngx_http_lua_output.c#L285) According to the documentation, the [ngx.say](https://github.com/openresty/lua-nginx-module#ngxsay) function expects a array table (with numeric index) as a parameter and...
> Trying to encode values which are unrepresentable in JSON will never result in type conversion or other magic: sparse arrays, tables with mixed key types or invalid numbers (NaN,...
> For what it's worth, works fine here (and has worked for years) with It doesn't work if IPv6 is disabled at the kernel level. > Out of curiosity, what...
Can you provide more information? I tried to reproduce but without success. Worked as it should for me. ```lua -- File: runtime.lua local json = require("json") local decoded = json.decode('{"this":["is",...