MediaWiki master
MediaWiki\Json\JsonConstants Interface Reference

Defines JSON-related constants. More...

Public Attributes

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

Detailed Description

Defines JSON-related constants.

Access: internal

Definition at line 14 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 deserialization.

Definition at line 24 of file JsonConstants.php.

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

◆ TYPE_ANNOTATION

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

Name of the property where the class information is stored.

Definition at line 19 of file JsonConstants.php.

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


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