spacewander commented on issue #8498:
URL: https://github.com/apache/apisix/issues/8498#issuecomment-1347809321

   I tried:
   ```
   === TEST 18: hit
   --- ONLY
   --- config
       location /t {
           content_by_lua_block {
               local json = require "apisix.core.json"
   local t = {aaa = "aaaa", bbb = "你好,世界"}
   local json_str = json.encode(t)
   ngx.print(json_str)
           }
       }
   --- response_body
   ```
   Got: `{"bbb":"你好,世界","aaa":"aaaa"}`.
   
   It works fine for me.


-- 
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]

Reply via email to