Skip to content

Instantly share code, notes, and snippets.

@anuragsrivastava06
Created April 14, 2018 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anuragsrivastava06/b07c81833165f430815930a6570e7497 to your computer and use it in GitHub Desktop.
Save anuragsrivastava06/b07c81833165f430815930a6570e7497 to your computer and use it in GitHub Desktop.
import JsonWriterInstances._
import JsonSyntax._
Person("Dave", "dave@example.com").toJson
// res6: Json = JsObject(Map(name -> JsString(Dave), email -> JsString(dave@example.com)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment