diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/boilerplate/spray/json/ProductFormatsInstances.scala.template | 2 |
1 files changed, 1 insertions, 1 deletions
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: _*) } |