red97corvette-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-08 05:32 UTC
PHP5 multidimensional hash json_encoded, passed to Ajax.Updater, fails
I haven''t had any problems using PHP5 json_encode() to send a single dimensional hashes to Prototype Ajax.Updater, but hashes within hashes seem to kill the entire parameter list. I''ve been troubleshooting myself the last couple of days and the best I can tell prototype evalJSON returns an object type, not hash. I can easily cast the output to a hash using $H(), but the hashes contained within that hash are still "objects" and not hashes, lack the each() routine. I can post a trivial php/prototypejs example if needed. Any ideas? I tried to search this group listing before I posted but I''m new here and didn''t see anything helpful. THANKS! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---