On Sun, 30 Dec 2018 at 12:06, fugee ohu <[email protected]> wrote:
> ...
> It's not json it's javascript so I don't have to run JSON.parse
{"success":true,"code":0,"results":[{"productId":32815555905, ...
Looks like JSON to me (embedded in js admittedly). You said that the
data you want is in that string. If that is correct then all you have
to do is to extract it and parse it as JSON.
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLs5amxf-YeV9gZu5-YxZyXzKFyhjRvmePUCxiCoqa567A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.