github: Decouple GithubAPI from `GithubCurl`
[nit.git] / lib / neo4j / curl_json.nit
index 03a7ca4..d6c4275 100644 (file)
@@ -16,6 +16,7 @@
 module curl_json
 
 import json::static
+import json
 intrude import curl
 
 # An abstract request that defines most of the standard options for Neo4j REST API
@@ -106,7 +107,7 @@ end
 class JsonPOST
        super JsonCurlRequest
 
-       var json_data: nullable Jsonable = null is writable
+       var json_data: nullable Serializable = null is writable
 
        redef fun init_headers do
                super
@@ -141,7 +142,7 @@ end
 class JsonPUT
        super JsonCurlRequest
 
-       var json_data: nullable Jsonable = null is writable
+       var json_data: nullable Serializable = null is writable
 
        redef fun init_headers do
                super
@@ -160,4 +161,3 @@ class JsonPUT
                return null
        end
 end
-