bert82503 commented on issue #215: URL: https://github.com/apache/shenyu/issues/215#issuecomment-2608702080
参数构建机制,对于任何类型的入参,都是通过`JSON.parseObject(body)`先解析为`JSONObject paramJson`。 这样,当入参是一个数组列表类型时,就会抛出JSON对象解析异常。 <img width="1327" alt="Image" src="https://github.com/user-attachments/assets/b5b9aeb7-5861-46f4-8fca-3a2c9e1395c5" /> 【解法】 把数组列表类型的入参,当做一个整体的字符串传入,不做解析。 <img width="844" alt="Image" src="https://github.com/user-attachments/assets/af583d99-e1e9-4c2a-add6-f145ce539225" /> -- 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]
