Created
July 9, 2017 07:21
-
-
Save ericwush/dcd53d8d6d0a2f52c91254cf51b29951 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 play.api.libs.json.{Json, Writes} | |
object JsonUtils { | |
def stringify[T](objekt: T)(implicit tjs: Writes[T]): String = { | |
Json.stringify(Json.toJson(objekt)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment