jackson复杂泛型转换:
ResultDto<PageModel<DemoModel>> obj = mapper.readValue(json, new TypeReference<ResultDto<PageModel<DemoModel>>>() {});
jackson复杂泛型转换:
ResultDto<PageModel<DemoModel>> obj = mapper.readValue(json, new TypeReference<ResultDto<PageModel<DemoModel>>>() {});
转载于:https://my.oschina.net/itsoku/blog/1923341