一. 大坑1:解析对象字符串为空 String body = ""; Map<String, String> map = JSON.parseObject(body, Map.class); System.out.println(map); System.out.println(map.isEmpty()); // 抛出异常 执行结果 null Exception in thread “main” java.lang.NullPointerException at com.xxx.xxxx…