aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/annotations.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/annotations.scala')
-rw-r--r--src/main/scala/annotations.scala9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/scala/annotations.scala b/src/main/scala/annotations.scala
index f23fbcb..ee179ff 100644
--- a/src/main/scala/annotations.scala
+++ b/src/main/scala/annotations.scala
@@ -2,9 +2,6 @@ package xyz.driver.json
import scala.annotation.StaticAnnotation
-/** Indicator trait of anontations related to JSON formatting. */
-sealed trait JsonAnnotation
-
/** 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.
@@ -25,9 +22,3 @@ sealed trait JsonAnnotation
* object */
final class gadt(val typeFieldName: String = "type")
extends StaticAnnotation
- with JsonAnnotation
-
-/** An annotation that designates that a sealed trait is an enumeration (all
- * children are strictly case objects), and that all children should be
- * serialized as strings. */
-final class enum extends StaticAnnotation with JsonAnnotation