DataDeserializationMixin { @JsonIgnore abstract String getDataFlag();    }
@Test public void testIgnore(){ Map<String,String> map = new HashMap<>(); map.put("ST","31"); map.put("Flag","N"); map.put("CP","&&k=v&&"); ObjectMapper objectMapper = new ObjectMapper(); objectMapper.disable(FAIL_ON_UNKNOWN_PROPERTIES); objectMapper.addMixIn(Data.class,DataDeserializationMixin.class); Data data = objectMapper.convertValue(map, Data.class); assertNull(data.getDataFlag()); }