JAVA Object 转 Map

import com.alibaba.fastjson.JSONObject;


Map<String, Object> map = JSONObject.parseObject(obj.toString(), new TypeReference<Map<String, Object>>(){});

 

posted @ 2022-05-10 14:13  哎丫丫呀喂  阅读(1363)  评论(0编辑  收藏  举报