module model::descriptions
import json::static
+import json
# Documentation associated to an entity.
#
# assert doc.to_json == "[]"
# ~~~
class Documentation
- super Jsonable
+ super Serializable
private var content = new JsonStringArray
private var has_brief_description: Bool = false
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]