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

[BUG] 2.0.9序列化set #513

Closed
prog-ape opened this issue Jun 28, 2022 · 3 comments
Closed

[BUG] 2.0.9序列化set #513

prog-ape opened this issue Jun 28, 2022 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@prog-ape
Copy link

版本 2.0.9-SNAPSHOT
Redis序列化方式:GenericFastJsonRedisSerializer
问题:
Could not deserialize: offset 1, character S, line 1, column 2, fastjson-version 2.0.9 Set["1541357098843803649"]; nested exception is com.alibaba.fastjson2.JSONException: offset 1, character S, line 1, column 2, fastjson-version 2.0.9 Set["1541357098843803649"]

操作:
set ids = new HashSet<>();
redisTemplate.opsForValue().set(key, ids);

redisTemplate.opsForValue().get(key);

@prog-ape prog-ape added the bug Something isn't working label Jun 28, 2022
@wenshao
Copy link
Member

wenshao commented Jun 28, 2022

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.9-SNAPSHOT/
问题已修复,请帮忙更新快照2.0.9-SNAPSHOT验证

@wenshao wenshao added this to the 2.0.9 milestone Jun 28, 2022
@prog-ape
Copy link
Author

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.9-SNAPSHOT/ 问题已修复,请帮忙更新快照2.0.9-SNAPSHOT验证

可以了,谢谢

@wenshao
Copy link
Member

wenshao commented Jul 10, 2022

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

@wenshao wenshao closed this as completed Jul 10, 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