json如下:
转换为
方法:
private TypeReference leadResptype = new TypeReference<ServiceResponse<LeadEntity>>() {
};
ServiceResponse<LeadEntity> data = jsonMapper.readValue(response, leadResptype);
json如下:
转换为
方法:
private TypeReference leadResptype = new TypeReference<ServiceResponse<LeadEntity>>() {
};
ServiceResponse<LeadEntity> data = jsonMapper.readValue(response, leadResptype);