nic-6443 opened a new pull request, #13386:
URL: https://github.com/apache/apisix/pull/13386

   This adds an APISIX-level JSON library selector for request body parsing 
used by core.request.get_request_body_table, and reuses the same selector for 
AI upstream request body encoding.\n\nThe supported values are cjson, simdjson, 
and qjson. The default is qjson. simdjson mode uses simdjson for decode and 
cjson for encode, while qjson mode uses qjson for both decode and 
encode.\n\nTests added/updated:\n- t/core/request.t covers selector behavior 
and AI transport encoding\n- t/core/config-default.t covers the default 
value\n\nLocal checks:\n- luacheck apisix/core/request_json.lua 
apisix/core/request.lua apisix/plugins/ai-transport/http.lua 
apisix/plugins/ai-transport/auth-aws.lua\n- request_json smoke test via 
resty\n\nI could not get the local Test::Nginx run to complete because the 
local APISIX test environment is loading stale etcd data and missing 
resty.openapi_validator, which triggers unrelated startup errors before these 
cases run.


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