Firstsawyou commented on a change in pull request #3263: URL: https://github.com/apache/apisix/pull/3263#discussion_r556301713
########## File path: apisix/plugins/authz-keycloak.lua ########## @@ -17,15 +17,18 @@ local core = require("apisix.core") local http = require "resty.http" local sub_str = string.sub -local url = require "net.url" -local tostring = tostring +local type = type local ngx = ngx +local cjson = require("cjson") +local cjson_s = require("cjson.safe") Review comment: It is better to use the public methods provided here.[https://github.com/apache/apisix/blob/master/apisix/core/json.lua ](https://github.com/apache/apisix/blob/master/apisix/core/json.lua) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org