ItemPageResult<ItemDTO> itemPageResult=new ItemPageResult<>();itemPageResult=JSON.parseObject(jsonObject.toString(),ItemPageResult.class);
public class ItemPageResult<T> { /** * 数据列表 */ public List<T> results; /** * 是否有下一页 */ public boolean hasNext; public TreeMap<Integer,ItemDTO> item; }
item": {
-
-"1": {
- "summary": "全46集",
-
-"payInfo": { },
- "img": "http://r1.ykimg.com/0510000058D1F511ADC0AE05AF08DB2A",
- "subtitleType": null,
- "gifImg": null,
- "class": "com.y.haibao.client.dto.item.ItemDTO",
-
-"mark": { },
- "property": null,
- "type": "GENERAL",
- "summaryType": null,
- "title": "破晓",
- "subtitle": "特务头子分外妖娆",
-
-"action": { }
-
+"2": { … },
-
+"3": { … },
-
+"4": { … },
-
+"5": { … },
-
+"6": { … }