[Seaside-dev] When is Symbol>>#= not Symbol>>#==?

Lukas Renggli renggli at gmail.com
Fri Nov 14 20:38:40 UTC 2008


On Fri, Nov 14, 2008 at 3:49 PM, John O'Keefe
<wembley.instantiations at gmail.com> wrote:
> I guess the question is 'What do consumers of the JSON parser expect when
> parsing names?'  I really don't know enough about JSON to argue one way or
> the other on which is correct, but if consumers expect Symbols, then
> returning Strings will break some code elsewhere.

The JSONParser is just a default parser that returns nested
dictionaries and ordered collections of literal types. It is supposed
to be subclassed for specific uses to instantiate real objects. The
parser is new in Seaside 2.9, so there are no users. I plan to use it
to serialize Javascript event objects and make it much simpler to get
the event properties to Seaside.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list