//这个正常进行序列化和反序列化
HashMap<String, Integer> tempMap1 = new HashMap<String, Integer>();
//这个反序列化后数据丢失
HashMap<String, HashMap<String, Integer>> tempMap2 = new HashMap<>();
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
请把问题补充完善
如何序列化和反序列化的
丢失了什么数据