Created
April 14, 2018 13:10
-
-
Save anuragsrivastava06/b07c81833165f430815930a6570e7497 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
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