|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Re: JSON Dumper/Parser |
Date: | Thu, 20 Sep 2007 14:53:59 +0200 |
User-agent: | Thunderbird 2.0.0.6 (Macintosh/20070728) |
--- json.st 2007-09-20 13:02:49.000000000 +0200 +++ json.st.n 2007-09-20 13:02:19.000000000 +0200 @@ -290,7 +290,6 @@ f := false ]. ws nextPut: $]. - ^ws contents ! !!UndefinedObject methodsFor: 'json'!I guess returning the stream contents there is a left over from my old code.
Yes, thanks.
Btw. do you have json.st somewhere in a repository on your side? Maybe checking it in to the examples/ directory until it is packaged up would be best?
Yes, that's a good idea.
It would allow people to inherit from JSONReader and plug in their own classes for storing json objects and arrays. Of course this doesn't work for numbers, strings and true/false, etc. But I don't know if it makes much sense to allow that much customisation.
I am not sure (yet) of the usefulness of this. I would like to see first how Magritte could be plugged into JSONReader/JSONWriter.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |