摘要: 像map一样的json直接存值: import org.json.JSONObject def main(args: Array[String]): Unit = { val jsonObj :JSONObject= new JSONObject()jsonObj.put("zxtotal", "1 阅读全文
posted @ 2019-10-08 18:01 糖醋排骨加辣椒 阅读(12292) 评论(0) 推荐(0) 编辑
摘要: 用Scala编码的时候,经常会遇到scala集合和Java集合互相转换的case, scala.collection.Iterable <=> java.lang.Iterable scala.collection.Iterable <=> java.util.Collection scala.co 阅读全文
posted @ 2019-10-08 17:50 糖醋排骨加辣椒 阅读(1828) 评论(0) 推荐(0) 编辑
摘要: redis命令参考网址:http://doc.redisfans.com/index.html 创建redis集群: key键操作: list列表操作: 阅读全文
posted @ 2019-10-08 17:46 糖醋排骨加辣椒 阅读(4026) 评论(0) 推荐(1) 编辑