Last active
August 29, 2015 14:20
-
-
Save JosephMoniz/da9db4ef15d170e3e723 to your computer and use it in GitHub Desktop.
An example on how to convert json to objects.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val nativeList = JsArray(JsInt(1), JsInt(2), JsInt(3)).as[List[Int]] | |
val failedConversion = JsArray(JsString("not"), JsString("ints")).as[List[Int]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment