json = JSON.parse(value) json["result"].each do |item| # do something end
Which bit don't you know how to do? Access the result array, iterate the array, access the individual elements, or print the values?
Colin
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/effbb0e610963e6d58151176875dae4b%40ruby-forum.com.
> For more options, visit https://groups.google.com/d/optout.