title: Read and return data from json file in laravel 4
body: <p>I have a file called data.txt in the public path , it has this </p>
  
  <pre><code>{"data":[{"name": "Jack", "age": 13},{"name": "Mary", "age": 15}]}
  </code></pre>
  
  <p>and I want to read these data and also return the age for both Jack and Mary, </p>
  
  <p>I know that I can read the file using the decode_json(file_get_contents) but I have no clue how to fetch the data and return specific records from it. </p>
  
  <p>Any help is much appreciated ! </p>