Skip to content
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
cvasani commented Mar 16, 2014

Thanks TakeZoe .

@haiy
haiy commented May 21, 2015

Mark

@niladri30

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.