Reading file: " . basename($file) . "
";
$jsonData = file_get_contents($file);
$data = json_decode($jsonData, true); // Convert JSON to array
$data = json_decode($jsonData); // Removed "true" to get an object
if ($data === null) {
echo "Error decoding JSON in " . basename($file) . "
";
continue;
}
echo "
" . print_r($data, true) . ""; echo $data->savedAt; } ?>