Baca data file JSON menggunakan 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);
// Get the contents of the JSON file
$strJsonFileContents = file_get_contents("css-color-names.json");
var_dump($strJsonFileContents); // show contentsCopy