RE: [Jquery-dev] Add JSON serializer to core?
That $.box code isn't totally bulletproof. For example, it doesn't escape
newlines or quotes in strings. I'm using John's $.json at the moment but it
would be handy to have a serializer without a separate plugin.
I think this would make more sense in the forms plugin, since that would
inevitably be where it's used. Of course, I could also make the case for
moving the forms plugin to the core to sweeten the ajax support, I use it on
almost every page.
-----Original Message-----
From: jquery-dev-bounces@bassistance.de
[mailto:jquery-dev-bounces@bassistance.de] On Behalf Of Jörn Zaefferer
Sent: Tuesday, December 19, 2006 1:59 PM
To: jquery-dev@bassistance.de
Subject: [Jquery-dev] Add JSON serializer to core?
Hi devs,
I just noticed this neat little code: http://jquery.com/docs/Plugins/box/
I wonder if this is a good oppurtunity to add JSON serializer support to
jQuery core. It's very useful for anyone working with AJA(X|JSON). And as
mentioned on the wiki page, the code provided at json.org is not pretty very
pretty.
If the JSON serializer can be convientently integrated into some of the
existing ajax methods, it would make jQuery even a bit more sexier.
I haven't looked at the code in detail nor did I test it, but I'd do that
when I hear a few opinions about the topic.
--
Jörn Zaefferer
http://bassistance.de
_______________________________________________
Jquery-dev mailing list
Jquery-dev@bassistance.de
http://lists.bassistance.de/mailman/listinfo/jquery-dev
_______________________________________________
Jquery-dev mailing list
Jquery-dev@bassistance.de
http://lists.bassistance.de/mailman/listinfo/jquery-dev