PHP 手册
JSON

The JsonSerializable interface

(PHP 5 >= 5.4.0)

简介

Objects implementing JsonSerializable can customize their JSON representation when encoded with json_encode().

接口摘要

JsonSerializable {
/* 方法 */
abstract public mixed jsonSerialize ( void )
}

Table of Contents


JSON
PHP 手册