xinxingi commented on code in PR #15852:
URL:
https://github.com/apache/dolphinscheduler/pull/15852#discussion_r1567067909
##########
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:
@caishunfeng The original method has not changed, only enhancements have
been made to the original method. For the adaptation of the generated file
extension, no log output is required. Adding this log parsing is of little
significance and may cause some confusion to users.
--
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]