From 8e265f905622e6d809c498ff804fc915f6ec421d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Thu, 12 May 2016 09:17:49 -0400 Subject: [PATCH] lib/json: add a reference to `serialize_to_json` in `to_json` MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/json/static.nit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/json/static.nit b/lib/json/static.nit index 565da1f..e333b85 100644 --- a/lib/json/static.nit +++ b/lib/json/static.nit @@ -31,6 +31,9 @@ private import json_lexer interface Jsonable # Encode `self` in JSON. # + # This is a recursive method which can be refined by any subclasses. + # To write any `Serializable` object to JSON, see `serialize_to_json`. + # # SEE: `append_json` fun to_json: String is abstract -- 1.7.9.5