We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
序列化再反序列化,重复引用的对象不能正确反序列化。
ArrayList<Object> items = new ArrayList<>(); HashMap<Object, Object> item = new HashMap<>(); item.put("data","data"); items.add(item); items.add(item); List<HashMap> newItems = JSONArray.parseArray(JSONArray.toJSONString(items),HashMap.class);
newItems ,有两个item
The text was updated successfully, but these errors were encountered:
能提供更详细能直接重现问题的代码么?
Sorry, something went wrong.
已更新重现步骤
没复现
https://github.com/alibaba/fastjson2/releases/tag/2.0.49 问题已修复,请用新版本
No branches or pull requests
问题描述
序列化再反序列化,重复引用的对象不能正确反序列化。
环境信息
重现步骤
期待的正确结果
newItems ,有两个item
相关日志输出
附加信息
The text was updated successfully, but these errors were encountered: