Source for file json.php
Documentation is available at json.php
 * @package     Joomla.Platform  
 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.  
 * @license     GNU General Public License version 2 or later; see LICENSE  
 * JDocumentJSON class, provides an easy interface to parse and display JSON output  
 * @package     Joomla.Platform  
 * @see         http://www.json.org/  
     * @param   array  $options  Associative array of options  
        $this->_mime = 
'application/json';  
     * @param   boolean  $cache   If true, cache the output  
     * @param   array    $params  Associative array of attributes  
     * @return  The rendered data  
    public function render($cache = 
false, $params = 
array())  
        $app->setHeader('Content-disposition', 'attachment; filename="' . 
$this->getName() . 
'.json"', true);  
     * Returns the document name  
     * @param   string  $name  Document name  
     * @return  JDocumentJSON instance of $this to allow chaining  
    public function setName($name = 
'joomla')  
 
 
	
		Documentation generated on Tue, 19 Nov 2013 15:06:17 +0100 by phpDocumentor 1.4.3