CoreFiles by mySites.guru
jsonserializable.php29 lines, 703 bytes, from Joomla_3.3.0-Stable-Full_Package.zip
Raw History Compare with 3.2.7
md5
d4a8a3da1f385c1cd5de869293715ad2
sha1
91daac347a1d37bf1b2277e64d01a8c07254628e
sha256
f1c84a9b723cde5ed082efed23afcfe53204c6e72fddc86a07d88fc9ef1d6e1b
<?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 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 7 releases, Joomla 3.2.2 to 3.3.0. See them all, or every version of this file.