我是利用Gson来弄得
Gson gson = new Gson();
//显得出HashMap的类型
Type type = new TypeToken<HashMap<String, String>>(){
}.getType();
//转为map集合
Map<String,String> map = gson.fromJson(body,type);

相关文章:

  • 2021-11-23
  • 2022-12-23
  • 2022-01-07
  • 2021-12-09
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-06
  • 2021-12-12
  • 2021-07-31
  • 2022-03-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案