tests: error_syntax errors on `? now
[nit.git] / contrib / neo_doxygen / src / model / descriptions.nit
index 5a27553..66341f3 100644 (file)
@@ -16,6 +16,7 @@
 module model::descriptions
 
 import json::static
+import json
 
 # Documentation associated to an entity.
 #
@@ -50,7 +51,7 @@ import json::static
 # assert doc.to_json == "[]"
 # ~~~
 class Documentation
-       super Jsonable
+       super Serializable
 
        private var content = new JsonStringArray
        private var has_brief_description: Bool = false
@@ -110,7 +111,7 @@ class Documentation
        redef fun accept_json_serializer(v) do content.serialize_to v
 end
 
-# A `Jsonable` array of strings.
+# A `Serializable` array of strings.
 private class JsonStringArray
        super JsonSequenceRead[String]
        super Array[String]