json: Move `to_json_value` to `Text`.
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Thu, 13 Nov 2014 20:03:10 +0000 (15:03 -0500)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 14 Nov 2014 16:30:50 +0000 (11:30 -0500)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

lib/json/dynamic.nit

index ec3ba25..f51ccfb 100644 (file)
@@ -216,7 +216,7 @@ class JsonValue
        end
 end
 
-redef class String
+redef class Text
        # Parse `self` to obtain a `JsonValue`
        fun to_json_value: JsonValue
        do