首页 > 技术文章 > 如何将返回的JSon字符串用MAP格式读取

hongming-blogs 2017-12-14 14:27 原文

语法是这样:

ObjectMapper mapper = new ObjectMapper();
Map resultMap=null;
resultMap = mapper.readValue(in, Map.class);

推荐阅读