2019-11-01 ObjectMapper忽略多余字段

2019-11-01  本文已影响0人  百炼
ObjectMapper  objectMapper= new ObjectMapper();
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
上一篇下一篇

猜你喜欢

热点阅读