MediaWiki  master
JsonUnserializable.php
Go to the documentation of this file.
1 <?php
22 namespace MediaWiki\Json;
23 
24 use JsonSerializable;
25 
38 interface JsonUnserializable extends JsonSerializable {
39 
47  public static function newFromJsonArray( JsonUnserializer $unserializer, array $json );
48 }
static newFromJsonArray(JsonUnserializer $unserializer, array $json)
Creates a new instance of the class and initialized it from the $json array.