pixeldin commented on issue #8498:
URL: https://github.com/apache/apisix/issues/8498#issuecomment-1345482724
This looks like an encoding issue you are occured. And from your example,
you import with the ```local json = require "apisix.core.json"``` but using the
```cjson.encode(t)```.
You may try this?
```
local json = require "apisix.core.json"
local t = {aaa = "aaaa", bbb = "你好,世界"}
local json_str = json.encode(t)
print(json_str)
```
--
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]