# limitations under the License.
# Basic json related functionalities
-module jsonable
+module jsonable is pkgconfig("json")
in "C Header" `{
#define __STRICT_ANSI__
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