Map<String, Object> mapVal = (Map<String, Object>) val; mapVal.keySet().removeIf(key->key.equals("张三"));