特牛生活网

Scala将数据转化JSON_scala 读取text文件转换成json文件-CSDN博客

网友收藏
文章浏览阅读3.9k次。val nObject: JSONObject = new JSONObject()split.map(f => { nObject.fluentPut(f.substring(0, 5), f.substring(5))})_scala 读取text文件转换成json文件