最佳答案
How can I convert Map<String,Object>
to Map<String,String>
?
This does not work:
Map<String,Object> map = new HashMap<String,Object>(); //Object is containing String
Map<String,String> newMap =new HashMap<String,String>(map);