ObjectMapper 如何将Map对象转换成json字符串?

Map myMap=new HashMap()
new ObjectMapper().writer().writeValueAsString(result)
标签: objectmapper、mymap、writevalueasstring、writer、map、面试
  • 回复
隐藏