Skip to content

new TypeReference  #501

@ZerphyrZhang

Description

@ZerphyrZhang

问题描述

简要描述您碰到的问题。
在1.0中 new TypeReference<ResponseMessage>(type){};
在.JSON.parseObject(resData, reference)时,是可以转换成复杂对象的,
但是在2.0.7中,提示:type的类型无法转成成ResponseMessage类型

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions