scala Map to Json

scala 将字典转换成Json字符串

import scala.util.parsing.json.JSONObject

JSONObject.apply(wordsMap).toString()

posted @ 2020-11-10 13:51  JunCode  阅读(757)  评论(0编辑  收藏  举报