Created
April 14, 2018 12:56
-
-
Save anuragsrivastava06/2bc54edab9faf8e8ba29b8700ae1fb5f 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._ | |
Json.toJson(Person("Dave", "dave@example.com")) | |
//res1: 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