環境:使用阿里Fastjsonjson
public static boolean isJSON(String context){try{JSONObject jsonObject=JSONObect.parseObject(context);return true;}catch(Excepiton e){e.printStackTrace();return false;}ide
}it