val nObject: JSONObject = new JSONObject() split.map(f => { nObject.fluentPut(f.substring(0, 5), f.substring(5)) })
Scala将数据转化JSON
最新推荐文章于 2022-06-22 11:06:52 发布
val nObject: JSONObject = new JSONObject() split.map(f => { nObject.fluentPut(f.substring(0, 5), f.substring(5)) })