caishunfeng commented on code in PR #15852:
URL:
https://github.com/apache/dolphinscheduler/pull/15852#discussion_r1567024612
##########
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/JSONUtils.java:
##########
@@ -196,7 +196,10 @@ public static <T> List<T> toList(String json, Class<T>
clazz) {
* @return true if valid
*/
public static boolean checkJsonValid(String json) {
+ return checkJsonValid(json, true);
+ }
+ public static boolean checkJsonValid(String json, Boolean logFlag) {
Review Comment:
Why not log default if parse wrong? I think it's not need to add this log
flag.
--
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]