diff options
-rw-r--r-- | project/plugins.sbt | 2 | ||||
-rw-r--r-- | src/main/boilerplate/spray/json/ProductFormatsInstances.scala.template | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/project/plugins.sbt b/project/plugins.sbt index 5132022..e706598 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.2") -addSbtPlugin("io.spray" % "sbt-boilerplate" % "0.5.0") +addSbtPlugin("io.spray" % "sbt-boilerplate" % "0.5.1") addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.5.0") diff --git a/src/main/boilerplate/spray/json/ProductFormatsInstances.scala.template b/src/main/boilerplate/spray/json/ProductFormatsInstances.scala.template index fa5cbb2..3d29b58 100644 --- a/src/main/boilerplate/spray/json/ProductFormatsInstances.scala.template +++ b/src/main/boilerplate/spray/json/ProductFormatsInstances.scala.template @@ -27,7 +27,7 @@ trait ProductFormatsInstances { self: ProductFormats with StandardFormats => def write(p: T) = { val fields = new collection.mutable.ListBuffer[(String, JsValue)] fields.sizeHint(1 * 2) - [#fields ++= productElement2Field[P1](fieldName1, p, 0)# + [#fields ++= productElement##2Field[P1](fieldName1, p, 0)# ] JsObject(fields: _*) } |