CoreFiles by mySites.guru
jsonserializable.php29 lines, 703 bytes, from Joomla_3.2.0-Stable-Full_Package.zip
Raw History Compare with 3.1.6
md5
1d4d24535968158398bf228ce1636952
sha1
2bcf85ff8f77ef05a16c622541d603374ddcd758
sha256
2c010894ebd1461c43b1c66538c8f0d5488fc52ee0b54a00baa5754de272b58b
<?php
/**
 * @package    Joomla.Compat
 *
 * @copyright  Copyright (C) 2005 - 2013 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 9 releases, Joomla 3.0.3 to 3.2.1. See them all, or every version of this file.