qingwli commented on code in PR #15852:
URL:
https://github.com/apache/dolphinscheduler/pull/15852#discussion_r1567034242
##########
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:
Looks like use this method to check a string is a json or not
--
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]