Leia os dados do arquivo JSON usando PHP
$filedata = file_get_contents('filename.json');
$details = json_decode($filedata);
print_r($details);
Ankur
$filedata = file_get_contents('filename.json');
$details = json_decode($filedata);
print_r($details);
$json = json_decode(file_get_contents('/path/to/your/file.json'));
// Get the contents of the JSON file
$strJsonFileContents = file_get_contents("css-color-names.json");
var_dump($strJsonFileContents); // show contentsCopy