Edward Grant wrote: > The each function does not run or put out the output. > > So my question is does the JSON object allow us to iterate over it
There's no such thing as a "JSON" object. It's just a normal Javascript object. And no, each() does not work on normal Javascript objects. That's what Hash is for. $H(sort_list).each(...) -- Michael Peters Developer Plus Three, LP --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
