diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/scala/spray/json/ProductFormats.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/spray/json/ProductFormats.scala b/src/main/scala/spray/json/ProductFormats.scala index c3a94e1..8b5843f 100644 --- a/src/main/scala/spray/json/ProductFormats.scala +++ b/src/main/scala/spray/json/ProductFormats.scala @@ -50,7 +50,7 @@ trait ProductFormats extends ProductFormatsInstances { if (reader.isInstanceOf[OptionFormat[_]]) None.asInstanceOf[T] else deserializationError("Object is missing required member '" + fieldName + "'", e) } - case _ => deserializationError("Object expected in field " + fieldName) + case _ => deserializationError("Object expected in field '" + fieldName + "'") } } |