281743556 opened a new issue, #8815:
URL: https://github.com/apache/apisix/issues/8815
### Description
使用apisix 2.13 中内嵌lua为5.1.5,在使用cjson.encode() 转换
local body_table = { jsonvalue=12345678901234567890}
log(ngx.INFO, "header body_table:", cjson.encode(body_table));
执行结果为:header body_table:{"jsonvalue":1.2345678901235e+019}
我看网上解释,需要使用lua5.3+,help me!!
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]