0

I need to scrape JSON data. Given link shows the scanned results in JSON format.

$json = file_get_contents('https://www.magereport.com/scan/result/?s=http://magento2-demo.nexcess.net/');
$obj = json_decode($json);

$obj is NULL always. Is it possible this way?

output of echo $json is in this pic.

dhilmathy
  • 2,664
  • 2
  • 18
  • 26

0 Answers0