src/Component.php
public function json($file = null)
    {
        if (is_null($file)) {
            $file = 'component.json';
        }

        return new Json($this->getPath() . '/' . $file, $this->app['files']);
    }
public function json($file = null)
    {
        if (is_null($file)) {
            $file = 'component.json';
        }

        return new Json($this->getPath() . '/' . $file, $this->app['files']);
    }
public function json ( $ file = null ) { if ( is_null ( $ file ) ) { $ file = 'component.json' ; } return new Json ( $ this -> getPath ( ) . '/' . $ file , $ this -> app [ 'files' ] ) ; }
Get json contents.

@return Json
Get json contents .