benchs: add --inline-some-methods and --direct-call-monomorph to bench_nitg-s_options...
[nit.git] / lib / json / jsonable.nit
index fbf4a00..a4e909a 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,7 +35,7 @@ private extern JsonObject `{ struct json_object* `}
        fun get `{ json_object_get( recv ); `}
 end
 
-redef class Sequence[ V ]
+redef class SequenceRead[ V ]
        super Jsonable
 end
 
@@ -44,10 +44,6 @@ redef class Map[ K, V ]
        super Jsonable
 end
 
-redef class String
-       super Jsonable
-end
-
 redef class Int
        super Jsonable
 end