public static function jsonDeserialize(array $json): DocumentSerializationInterface
    {
        $managerClass = $json['document_serialization']['manager_class'];
        $data = (array) $json['document_serialization']['data'];

        return new self($managerClass, $data);
    }
public static function jsonDeserialize(array $json): DocumentSerializationInterface
    {
        $managerClass = $json['document_serialization']['manager_class'];
        $data = (array) $json['document_serialization']['data'];

        return new self($managerClass, $data);
    }
public static function jsonDeserialize ( array $ json ) : DocumentSerializationInterface { $ managerClass = $ json [ 'document_serialization' ] [ 'manager_class' ] ; $ data = ( array ) $ json [ 'document_serialization' ] [ 'data' ] ; return new self ( $ managerClass , $ data ) ; }
Deserialize the data

@param array $json

@return DocumentSerializationInterface
Deserialize the data