PHP and JSON

Decode a JSON File

function get_json_file($file_path)
{
    if (file_exists($file_path)) {   
        return json_decode(file_get_contents($file_path));
    }
    return false;
}