[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Re: JSON Dumper/Parser

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Re: JSON Dumper/Parser
Date: Thu, 20 Sep 2007 14:53:59 +0200
User-agent: Thunderbird (Macintosh/20070728)

---     2007-09-20 13:02:49.000000000 +0200
+++   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 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]