stdlib/strings: Detached the Text block from Collection.
[nit.git] / lib / json / jsonable.nit
index a4e909a..08f8908 100644 (file)
@@ -39,6 +39,10 @@ redef class SequenceRead[ V ]
        super Jsonable
 end
 
+redef class String
+       super Jsonable
+end
+
 # Can b converted to a Json object
 redef class Map[ K, V ]
        super Jsonable