diff options
author | Jakob Odersky <jakob@odersky.com> | 2018-03-06 22:07:11 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2018-03-06 22:07:11 -0800 |
commit | eb1ad3c956c828d421b7650dd3b01d5129a41a3d (patch) | |
tree | d9d9939f53a6d940f1b28441c78fa36f53bb64ff /src | |
parent | d30473d1701e9f6ed4f4b7def87f6ecb8a27d21b (diff) | |
download | spray-json-derivation-eb1ad3c956c828d421b7650dd3b01d5129a41a3d.tar.gz spray-json-derivation-eb1ad3c956c828d421b7650dd3b01d5129a41a3d.tar.bz2 spray-json-derivation-eb1ad3c956c828d421b7650dd3b01d5129a41a3d.zip |
Fix scaladoc markupv0.2.2
Diffstat (limited to 'src')
-rw-r--r-- | src/main/scala/annotations.scala | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/scala/annotations.scala b/src/main/scala/annotations.scala index 5382622..216030e 100644 --- a/src/main/scala/annotations.scala +++ b/src/main/scala/annotations.scala @@ -11,13 +11,12 @@ import scala.annotation.StaticAnnotation * field and is really only useful if a child itself has a field called `type` * that would result in a conflict. * - * Example - * ``` + * Example: + * {{{ * // the JSON field "kind" will contain the actual type of the serialized child * @gadt("kind") sealed abstract class Keyword(`type`: String) * case class If(`type`: String) extends Keyword(`type`) - * ``` - * + * }}} * @param typeFieldName the name of the field to inject into a serialized JSON * object */ final class gadt(val typeFieldName: String = "type") extends StaticAnnotation |