Ruby on Rails Friday, December 28, 2018

On Fri, 28 Dec 2018 at 12:58, fugee ohu <fugee279@gmail.com> wrote:
> ...
> Yes the sources tab showed the script and it's output, a string, but how do I parse it into an object?

If it is a JSON string then JSON.parse should do it. If it is not
then perhaps you need to strip something off to get to be valid JSON.
Not sure what any of this has got to do with Rails.

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%3D0gLuGzKxT7NXVWH5_MLr7tVJ%3DSfsF0DYAN0n8aKwepNbLjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment