X-Git-Url: http://nitlanguage.org diff --git a/lib/github/github_curl.nit b/lib/github/github_curl.nit index b5874f3..05761b1 100644 --- a/lib/github/github_curl.nit +++ b/lib/github/github_curl.nit @@ -127,9 +127,7 @@ class GithubError json["message"] = message.to_json end - redef fun to_json do - return json.to_json - end + redef fun serialize_to(v) do json.serialize_to v redef fun to_s do return "[{name}] {super}" end