Created
July 28, 2009 11:30
-
-
Save jboner/157154 to your computer and use it in GitHub Desktop.
Akka Serializable
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
case class MyMessage(val id: String, val value: Tuple2[String, Int]) extends ScalaJSON | |
val message = MyMessage("id", ("hello", 34)) | |
val json = message.toJSON | |
val messageCopy = Serializer.ScalaJSON.in(json) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment