stdlib/strings: Detached the Text block from Collection.
[nit.git] / lib / json / jsonable.nit
index fbf4a00..08f8908 100644 (file)
@@ -15,7 +15,7 @@
 # limitations under the License.
 
 # Basic json related functionalities
-module jsonable
+module jsonable is pkgconfig("json")
 
 in "C Header" `{
        #define __STRICT_ANSI__
@@ -35,16 +35,16 @@ private extern JsonObject `{ struct json_object* `}
        fun get `{ json_object_get( recv ); `}
 end
 
-redef class Sequence[ V ]
+redef class SequenceRead[ V ]
        super Jsonable
 end
 
-# Can b converted to a Json object
-redef class Map[ K, V ]
+redef class String
        super Jsonable
 end
 
-redef class String
+# Can b converted to a Json object
+redef class Map[ K, V ]
        super Jsonable
 end