Constantes pré-definidas
JsonSerializable::jsonSerialize
JSON
PHP Manual

# The JsonSerializable interface

(PHP 5 >= 5.4.0)

## Introdução

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

## Resumo da Interface

JsonSerializable {
/* Métodos */
abstract public mixed jsonSerialize ( void )
}

## Índice

- JsonSerializable::jsonSerialize — Specify data which should be serialized to JSON

Constantes pré-definidas
JsonSerializable::jsonSerialize
JSON
PHP Manual