文章詳情頁(yè)
java - 使用fastjson對(duì)HashMap進(jìn)行序列化錯(cuò)誤
瀏覽:142日期:2024-01-22 16:51:03
問(wèn)題描述
項(xiàng)目中使用fastjson對(duì)HashMap進(jìn)行序列化和反序列化//這個(gè)正常進(jìn)行序列化和反序列化HashMap<String, Integer> tempMap1 = new HashMap<String, Integer>();
//這個(gè)反序列化后數(shù)據(jù)丟失 HashMap<String, HashMap<String, Integer>> tempMap2 = new HashMap<>();
問(wèn)題解答
回答1:請(qǐng)把問(wèn)題補(bǔ)充完善
如何序列化和反序列化的
丟失了什么數(shù)據(jù)
標(biāo)簽:
java
相關(guān)文章:
1. docker-compose中volumes的問(wèn)題2. 關(guān)docker hub上有些鏡像的tag被標(biāo)記““This image has vulnerabilities””3. boot2docker無(wú)法啟動(dòng)4. nignx - docker內(nèi)nginx 80端口被占用5. javascript - mock.js可以存儲(chǔ)數(shù)據(jù)嗎6. docker安裝后出現(xiàn)Cannot connect to the Docker daemon.7. java - SSH框架中寫(xiě)分頁(yè)時(shí)service層中不能注入分頁(yè)類(lèi)8. docker api 開(kāi)發(fā)的端口怎么獲取?9. docker容器呢SSH為什么連不通呢?10. dockerfile - 為什么docker容器啟動(dòng)不了?
排行榜

熱門(mén)標(biāo)簽
網(wǎng)公網(wǎng)安備