August 7, 2013

Generate JSON in Scala & SBT Using Jerkson

In the build.sbt
resolvers += "repo.codahale.com" at "http://repo.codahale.com"
libraryDependencies += "com.codahale" % "jerkson_2.9.1" % "0.5.0"
 Your class should be a case class. Then simply call  generate(your_scala_object)




No comments:

Post a Comment