public static function load($path, $assoc = false, $depth = 512, $options = 0)
    {
        $json = file_get_contents($path);
        if ($json === false) {
            $error = error_get_last();
            throw new \Exception("Failed reading JSON data from file: " . $error['message']);
        }

        return self::decode($json, $assoc, $depth, $options);
    }