[Proto-Scripty] Help iterating objects in JSON via AJAX Request

2009-07-06 Thread seamusjr
I am trying to get a collection of objects in JSON that have children and iterate through the name properties of those children. For example I want to get the collection of Furniture and return its children. I have tried to do this by converting the Object to a Hash and iterate through it with

[Proto-Scripty] Re: Help iterating objects in JSON via AJAX Request

2009-07-06 Thread seamusjr
Thanks a lot TJ, this is exactly what I needed. I was confused about iterating through the array that was in the Object and kept trying to use for..in instead of the each. Regards, Seamus --~--~-~--~~~---~--~~ You received this message because you are subscribed