Create a gist now

Instantly share code, notes, and snippets.

Example of scala.util.parsing.json
import scala.util.parsing.json._
val result = JSON.parseFull("""
{"name": "Naoki", "lang": ["Java", "Scala"]}
result match {
case Some(e) => println(e) // => Map(name -> Naoki, lang -> List(Java, Scala))
case None => println("Failed.")
cvasani commented Mar 16, 2014

Thanks TakeZoe .

haiy commented May 21, 2015




Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment