Closed atian25 closed 9 years ago
scraperjs.StaticScraper.create() .get('http://echo.jsontest.com/k1/v1') .scrape(function($){ // how to get response json? return $.html(); }, function(result){ return result; })
That's not the (most efficient) way to get and parse json. Just get the body of the page and do JSON.parse(body).
JSON.parse(body)