CoreFiles by mySites.guru
jsonserializable.php29 lines, 731 bytes, from Joomla_3.3.2-Stable-Full_Package.zip
Raw History Compare with 3.3.1
md5
39ebeb0d2be12bce4005c5a455ee9579
sha1
ecab63f61ce823562edef81e4d66271f6544255e
sha256
a417994112087c55eadf7ad3ae4cfe45fe4bd7e1147b3eeb5ac93c4f82128c1f
<?php
/**
 * @package    Joomla.Compat
 *
 * @copyright  Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

defined('JPATH_PLATFORM') or die;

/**
 * JsonSerializable interface. This file provides backwards compatibility to PHP 5.3 and ensures
 * the interface is present in systems where JSON related code was removed.
 *
 * @package  Joomla.Compat
 * @link     http://www.php.net/manual/en/jsonserializable.jsonserialize.php
 * @since    12.2
 */
interface JsonSerializable
{
	/**
	 * Return data which should be serialized by json_encode().
	 *
	 * @return  mixed
	 *
	 * @since   12.2
	 */
	public function jsonSerialize();
}

The same content is in 6 releases, Joomla 3.3.1 to 3.3.6. See them all, or every version of this file.