summaryrefslogtreecommitdiff
path: root/appl/lib/json.b
diff options
context:
space:
mode:
Diffstat (limited to 'appl/lib/json.b')
-rw-r--r--appl/lib/json.b4
1 files changed, 2 insertions, 2 deletions
diff --git a/appl/lib/json.b b/appl/lib/json.b
index 50e93b27..f4fdce14 100644
--- a/appl/lib/json.b
+++ b/appl/lib/json.b
@@ -279,9 +279,9 @@ writeval(out: ref Iobuf, o: ref JValue) raises(Badwrite)
String =>
writestring(out, r.s);
Int =>
- puts(out, string r.value);
+ puts(out, r.text());
Real =>
- puts(out, string r.value);
+ puts(out, r.text());
Object => # '{' [pair (',' pair)*] '}'
putc(out, '{');
for(l := r.mem; l != nil; l = tl l){