CoreFiles by mySites.guru
jsonserializable.php29 lines, 703 bytes, from Joomla_3.0.2-Stable-Full_Package.zip
Raw History Compare with 3.0.1
md5
982967c10da540c2bf5ef457965f149b
sha1
f3cf107ac125a7540945e880a60924bdce430b08
sha256
1b706b4c7e0e517bfaab93e3ff6ec62575a9d528321a8492b2b579b283c34ffc
<?php
/**
 * @package    Joomla.Compat
 *
 * @copyright  Copyright (C) 2005 - 2012 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 should only be loaded on PHP < 5.4
 * It allows us to implement it in classes without requiring PHP 5.4
 *
 * @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 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.