2019-11-01 ObjectMapper忽略多余字段
2019-11-01 本文已影响0人
百炼
ObjectMapper objectMapper= new ObjectMapper();
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
ObjectMapper objectMapper= new ObjectMapper();
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);