Java json转object报错:Unrecognized field xxx , not marked as ignorable
json转object正常操作ObjectMapperobjectMapper=newObjectMapper();//targetObject:转换后的对象ObjecttargetObject=objectMapper.readValue(jsonString,targetObject.class);//如果json中存在目标对象Object不存在的字段,则会报错:Unrecognizedfie