ruanwenjun commented on code in PR #17888:
URL: 
https://github.com/apache/dolphinscheduler/pull/17888#discussion_r2705008007


##########
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/JSONUtils.java:
##########
@@ -248,10 +249,21 @@ public static String findValue(JsonNode jsonNode, String 
fieldName) {
      * @return json to map
      */
     public static Map<String, String> toMap(String json) {
-        return parseObject(json, new TypeReference<Map<String, String>>() {
+        Map<String, Object> map = parseObject(json, new 
TypeReference<Map<String, Object>>() {

Review Comment:
   This method is used in many places, and this modification may cause more 
serious problems, you need to use `parseObject` at the upper layer.



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