Hey there,
sliver a écrit :
> var string="{name: 'Yogi Bear', position: 'pic-a-nic basket
> collector'}";
If you just go the extra mile and put quotes around the key names,
making it a valid JSON serialized form, you'll be able to leverage the
new JSON features (including, of course, parseJSON) Tobie recently
provided as a branch changeset [1]. They're likely to become available
in the next point release. Until then, you can get Tobie's patch file
and apply it over your copy of Prototype...
[1] http://dev.rubyonrails.org/changeset/6210
--
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---