Inherits JsonSerializable.
Definition at line 25 of file JsonDeserializable.php.
◆ newFromJsonArray()
| static MediaWiki\Json\JsonDeserializable::newFromJsonArray |
( |
JsonDeserializer | $deserializer, |
|
|
array | $json ) |
|
static |
Creates a new instance of the class and initialized it from the $json array.
- Parameters
-
| JsonDeserializer | $deserializer | an instance of JsonDeserializer to use for nested properties if they need special care. |
| array | $json | |
- Returns
- JsonDeserializable
The documentation for this interface was generated from the following file: