Hi Ben,

Prototype supports the handling of JSON in AJAX and in its extensions
of native JavaScript objects.
For a small tutorial on Prototype and JSON you can go here (they also
touch on XSS attack prevention that Prototype has).

http://www.prototypejs.org/learn/json

Don't forget to set your responce header (from the server-side to X-
JSON)

other info:
http://www.prototypejs.org/api/ajax/request
http://www.prototypejs.org/api/string/toJSON
http://www.prototypejs.org/api/string/unfilterjson
and so on ....


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to