meshelton

Untitled

Feb 5th, 2016
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.38 KB | None | 0 0
  1. // build.sbt
  2.  
  3. libraryDependencies += "com.github.fommil" %% "spray-json-shapeless" % "1.1.0"
  4. libraryDependencies += "com.chuusai" %% "shapeless" % "2.2.5"
  5. libraryDependencies += "io.spray" %% "spray-json" % "1.3.2"
  6.  
  7. // Sample
  8. import fommil.sjs.FamilyFormats._
  9. import shapeless._
  10. import poly._
  11. import spray.json._
  12.  
  13.  
  14. object Test extends App{
  15.   println(("Test" :: HNil).toJson)
  16. }
Advertisement
Add Comment
Please, Sign In to add comment