*: update redefs of `to_json`
[nit.git] / lib / github / api.nit
index 7c85422..e42faf5 100644 (file)
@@ -512,8 +512,6 @@ abstract class GithubEntity
 
        # Github page url.
        var html_url: nullable String is writable
-
-       redef fun to_json do return serialize_to_json
 end
 
 # A Github user
@@ -1062,8 +1060,6 @@ end
 redef class ISODate
        super Jsonable
        serialize
-
-       redef fun to_json do return serialize_to_json
 end
 
 # JsonDeserializer specific for Github objects.