CARVIEW |
Select Language
HTTP/2 200
server: myracloud
date: Thu, 16 Oct 2025 00:14:49 GMT
content-type: text/html; charset=utf-8
content-language: en
permissions-policy: interest-cohort=()
x-frame-options: SAMEORIGIN
link: ; rel=shorturl
last-modified: Thu, 16 Oct 2025 00:08:25 GMT
content-encoding: gzip
vary: accept-encoding
expires: Thu, 16 Oct 2025 00:14:49 GMT
cache-control: max-age=0
PHP: JsonSerializable - Manual
The JsonSerializable interface
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
Introduction
Objects implementing JsonSerializable can customize their JSON representation when encoded with json_encode().
Interface synopsis
Table of Contents
- JsonSerializable::jsonSerialize — Specify data which should be serialized to JSON
+add a note
User Contributed Notes
There are no user contributed notes for this page.

↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google