Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new TypeReference #501

Closed
ZerphyrZhang opened this issue Jun 22, 2022 · 3 comments
Closed

new TypeReference #501

ZerphyrZhang opened this issue Jun 22, 2022 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@ZerphyrZhang
Copy link

ZerphyrZhang commented Jun 22, 2022

问题描述

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

@ZerphyrZhang ZerphyrZhang added the bug Something isn't working label Jun 22, 2022
@wenshao
Copy link
Member

wenshao commented Jun 22, 2022

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.8-SNAPSHOT/
问题已经修复,请用2.0.8-SNAPSHOT验证,2.0.8版本预计在周末发布

@wenshao wenshao added this to the 2.0.8 milestone Jun 22, 2022
@ZerphyrZhang
Copy link
Author

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.8-SNAPSHOT/ 问题已经修复,请用2.0.8-SNAPSHOT验证,2.0.8版本预计在周末发布

Nice

@ZerphyrZhang ZerphyrZhang changed the title [BUG] new TypeReference Jun 23, 2022
@wenshao
Copy link
Member

wenshao commented Jun 25, 2022

https://github.com/alibaba/fastjson2/releases/tag/2.0.8
问题已经修复,请用新版本

@wenshao wenshao closed this as completed Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants