标签:json格式 return als 字符 json str exce 格式 public
public static boolean isJson(String content) {
        try {
            JSONObject.fromObject(content);
            return true;
        } catch (Exception e) {
            return false;
        }
    }
标签:json格式 return als 字符 json str exce 格式 public
原文地址:https://www.cnblogs.com/f-l-y/p/9155711.html