spark笔记 spark 笔记 By chloy 2017-10-12 阅读量 目录 1234val s = JSON.parseFull("[{\"a\":1,\"b\":2}]").getOrElse(List()).asInstanceOf[List[Map[String,Object]]]println(s.apply(0))输出:Map(a -> 1.0, b -> 2.0) ------------------------------------------------------------------------------------------------------------------------------ 只卖艺不卖身,客官打赏,给您来段50的 ------------------------------------------------------------------------------------------------------------------------------ 只卖艺不卖身,客官打赏,给您来段50的