cyemars opened a new issue, #17389: URL: https://github.com/apache/dolphinscheduler/issues/17389
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened public static Map<String, String> toMap(String json) 该方法兼容性有问题,当我的http组件,请求Body 是 { "applyId": "CA2024011800236476", "bizType": "SX", "customerName": "张三", "decisionCode": "yqg_sx", "featureSourceDataList": [{ "data": "{\"dataId\":\"test\",\"content\":\"test\",\"status\":\"200\"}", "dataType": "TEST" }], "idNo": "201283199306196679", "mobileNo": "18575307870", "parallelSwitch": "NEW", "params": {}, "computeTaskName": "TEST", "productId": "PN00011507-0002", "productNo": "PN00011507"} 这样的时候,由于featureSourceDataList value比较特殊,toMap 会失败跑出错误 json to map exception! com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.lang.String` from Array value (token `JsonToken.START_ARRAY`) ### What you expected to happen 我在本地测试的时候,发现存在该问题 ### How to reproduce { "applyId": "CA2024011800236476", "bizType": "SX", "customerName": "张三", "decisionCode": "yqg_sx", "featureSourceDataList": [{ "data": "{\"dataId\":\"test\",\"content\":\"test\",\"status\":\"200\"}", "dataType": "TEST" }], "idNo": "201283199306196679", "mobileNo": "18575307870", "parallelSwitch": "NEW", "params": {}, "computeTaskName": "TEST", "productId": "PN00011507-0002", "productNo": "PN00011507"},使用这段报文测试即可复现 ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
