title: How would I go about loading a JSON file using Laravel?
body: <p>I have a JSON file that I'd like to load using Laravel. I'm learning Laravel and would like to know the right way to do this. I have the JSON files in a folder called json in the public folder.</p>
  
  <p>In my routes.php I have the following:</p>
  
  <pre><code>Route::get('/json/{jsonfile}', array(
      'as' =&gt; 'load-json',
      'uses' =&gt; 'JSONController@loadJSON'
  ));
  </code></pre>
  
  <p>In JSONController I have:</p>
  
  <pre><code>public function loadJSON($jsonfile) {
      // not sure what to do here
  
      return View::make('json.display')
                  -&gt;with('jsonfile', $jsonfile);
  }
  </code></pre>
  
  <p>Also is my naming convention ok or do you have better suggestions?</p>