On Wed, 30 Jan 2019 at 09:55, fugee ohu <fugee279@gmail.com> wrote:
> ...
> I can print the outer values of parsed_obj with an iteration loop
> parsed_obj.each |key, val| do
> can you tell me how do i select individual keys within the nested hash 'results'
Does that mean you have parsed it ok?
Isn't it obvious? You have to use each|key,val| on the outer level
results to get their contents. With different names for key and val
obviously.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt6AnyZ6NOXPrz7297Nn8khA59nFguT-oTum7TCdUc_Tw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment