Created
July 23, 2013 18:37
-
-
Save wertlex/6064960 to your computer and use it in GitHub Desktop.
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 Profile(id: Option[String], name: String, docs: Seq[Doc]) | |
case class Doc(name: String, content: String) | |
implicit val docWrites = Json.writes[Doc] | |
implicit val profileWrites = Json.writes[Profile] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment