Skip to content

Instantly share code, notes, and snippets.

@wertlex
Created July 23, 2013 18:33
Show Gist options
  • Save wertlex/6064909 to your computer and use it in GitHub Desktop.
Save wertlex/6064909 to your computer and use it in GitHub Desktop.
import play.api.libs.json._
case class Doc(name: String, content: String)
val docWrites = Json.writes[Doc]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment