Skip to content
New issue

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

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

Already on GitHub? # to your account

fastjson2是否不在计划支持InputStream的反序列化?如JSON.parseObject(is, Map.class) #103

Closed
kervin521 opened this issue Apr 28, 2022 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@kervin521
Copy link

String path = "json.txt";
InputStream is = new FileInputStream(new File(path));
Map<String,Object> map = JSON.parseObject(is, Map.class);

@wenshao wenshao added the enhancement New feature or request label Apr 28, 2022
@wenshao wenshao added this to the 2.0.2 milestone May 1, 2022
@wenshao
Copy link
Member

wenshao commented May 1, 2022

已经支持,快照版本 https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson/2.0.2-SNAPSHOT/
正式版本明天发布

@wenshao wenshao closed this as completed May 1, 2022
@wenshao
Copy link
Member

wenshao commented May 2, 2022

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

@hwtl
Copy link

hwtl commented Jun 16, 2022

https://github.com/alibaba/fastjson2/releases/tag/2.0.2 问题已修复,请使用新版本
兼容版本还没有引入,2.0.6和2.0.7 @wenshao

@wenshao wenshao reopened this Jun 16, 2022
@wenshao wenshao modified the milestones: 2.0.2, 2.0.8 Jun 16, 2022
@wenshao
Copy link
Member

wenshao commented Jun 25, 2022

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants