Object转List

1.引maven

 
            com.google.code.gson
            gson
            2.2.4
        

2.

List list = new Gson().fromJson(new Gson().toJson(map1.get("yiyuandjbh")), new TypeToken>(){}.getType());

 

你可能感兴趣的:(java)