nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*: update redefs of `to_json`
[nit.git]
/
lib
/
github
/
github_curl.nit
diff --git
a/lib/github/github_curl.nit
b/lib/github/github_curl.nit
index
b5874f3
..
05761b1
100644
(file)
--- 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