diff options
author | Jakob Odersky <jakob@driver.xyz> | 2018-06-29 17:56:06 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2018-06-30 00:32:44 -0700 |
commit | c4dd18f810afdb4adb85d002ad34e660fe54c146 (patch) | |
tree | dc2c3b8f51009a96c9be7cd5831e8ce3280caa6b /shared/src/main/scala/annotations.scala | |
parent | 9545fe93dfe68974ca4bf2f9e6310216fc914e15 (diff) | |
download | spray-json-derivation-c4dd18f810afdb4adb85d002ad34e660fe54c146.tar.gz spray-json-derivation-c4dd18f810afdb4adb85d002ad34e660fe54c146.tar.bz2 spray-json-derivation-c4dd18f810afdb4adb85d002ad34e660fe54c146.zip |
Fix bug in derivation of classes with type parametersv0.4.6
Diffstat (limited to 'shared/src/main/scala/annotations.scala')
-rw-r--r-- | shared/src/main/scala/annotations.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/src/main/scala/annotations.scala b/shared/src/main/scala/annotations.scala index 9d35d16..1b7c62c 100644 --- a/shared/src/main/scala/annotations.scala +++ b/shared/src/main/scala/annotations.scala @@ -3,13 +3,13 @@ package spray.json import scala.annotation.StaticAnnotation /** An annotation that designates that a sealed trait is a generalized algebraic - * datatype (GADT), and that a type field containing the serialized childrens' - * types should be added to the final JSON objects. + * datatype (GADT), and that a field containing the serialized childrens' types + * should be added to the final JSON objects. * * Note that by default all sealed traits are treated as GADTs, with a type * field called `type`. This annotation enables overriding the name of that * field and is really only useful if a child itself has a field called `type` - * that would result in a conflict. + * that would otherwise result in a conflict. * * Example: * {{{ |