Arquivos
hhvm/hphp/system/php/json/JsonSerializable.php
T
Drew Paroski e6b6aa0b09 Clean up the hphp/system folder
I noticed that directorty structure of hphp/system was a bit scattered, so
I consolidated things to reduce the total number of folders and to put
related things together with each other.

This diff moves the contents of "hphp/system/classes_hhvm" into
"hphp/system", it moves the contents of "hphp/system/lib" into
"hphp/system", moves "hphp/idl" to "hphp/system/idl", and moves the
contents of "hphp/system/globals" into "hphp/system/idl".
2013-06-15 23:29:49 -07:00

27 linhas
771 B
PHP

<?php
// This doc comment block generated by idl/sysdoc.php
/**
* ( excerpt from http://php.net/manual/en/class.jsonserializable.php )
*
* Objects implementing JsonSerializable can customize their JSON
* representation when encoded with json_encode().
*
*/
interface JsonSerializable {
// This doc comment block generated by idl/sysdoc.php
/**
* ( excerpt from
* http://php.net/manual/en/jsonserializable.jsonserialize.php )
*
* Serializes the object to a value that can be serialized natively by
* json_encode().
*
* @return mixed Returns data which can be serialized by
* json_encode(), which is a value of any type other
* than a resource.
*/
public function jsonSerialize();
}