MediaWiki master
MediaWiki\Json\JsonConstants Interface Reference

Public Attributes

const COMPLEX_ANNOTATION = '_complex_'
 Name of the marker property to indicate that array contents need to be examined during unserialization.
 
const TYPE_ANNOTATION = '_type_'
 Name of the property where the class information is stored.
 

Detailed Description

Definition at line 29 of file JsonConstants.php.

Member Data Documentation

◆ COMPLEX_ANNOTATION

const MediaWiki\Json\JsonConstants::COMPLEX_ANNOTATION = '_complex_'

Name of the marker property to indicate that array contents need to be examined during unserialization.

Definition at line 39 of file JsonConstants.php.

Referenced by MediaWiki\Json\JsonCodec\unserializeArray().

◆ TYPE_ANNOTATION

const MediaWiki\Json\JsonConstants::TYPE_ANNOTATION = '_type_'

Name of the property where the class information is stored.

Definition at line 34 of file JsonConstants.php.

Referenced by MediaWiki\Json\JsonCodec\unserialize().


The documentation for this interface was generated from the following file: