Please wait while we load your page...
 

Announcements

PHP Manual :: The JsonSerializable interface



Predefined Constants || JsonSerializable::jsonSerialize || JSON || PHP Manual

(PHP 5 >= 5.4.0, PHP 7)

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

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


Predefined Constants || JsonSerializable::jsonSerialize || JSON || PHP Manual
Live Chat Not Available