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

[QUESTION]兼容包中JSONArray实现的是List而非List<Object>, 导致类型推断出错。 #1103

Closed
metal-huang opened this issue Feb 9, 2023 · 3 comments
Labels
fixed question Further information is requested
Milestone

Comments

@metal-huang
Copy link
Contributor

metal-huang commented Feb 9, 2023

兼容包中JSONArray实现的是List而非List<Object>, 导致类型推断出错。

<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>fastjson</artifactId>
    <version>2.0.23</version>
</dependency>

image

image

@metal-huang metal-huang added the question Further information is requested label Feb 9, 2023
@metal-huang metal-huang changed the title [QUESTION] [QUESTION]兼容包中JSONArray实现的是List而非List<Object>, 导致类型推断出错。 Feb 9, 2023
@wenshao wenshao added the fixed label Feb 9, 2023
@wenshao wenshao added this to the 2.0.24 milestone Feb 9, 2023
@wenshao
Copy link
Member

wenshao commented Feb 9, 2023

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.24-SNAPSHOT/
问题已修复,请用2.0.24-SNAPSHOT版本帮忙验证,2.0.24-SNAPSHOT预计在2月中旬发布。

@wenshao
Copy link
Member

wenshao commented Feb 18, 2023

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

@wenshao wenshao closed this as completed Feb 18, 2023
@metal-huang
Copy link
Contributor Author

已验证该修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants