Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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