title: Cakephp read and write json files.
body: <p>I am new to cakephp. I am trying to save json output as a file in webroot. I would also like read the file into a array.</p>
  
  <p>I know we could output array as json object using json_encode($array). But I am stuck creating and reading json files into an array.</p>
  
  <p>I appreciate any help.</p>