src/vs/workbench/contrib/interactive/browser/interactive.contribution.ts/InteractiveEditorSerializer/deserialize
class InteractiveEditorSerializer:	deserialize(instantiationService: IInstantiationService, raw: string) {
		if (!this.canSerialize()) {
			return undefined;
		}
		type Data = { resource: URI; inputResource: URI; data: any };
		const data = <Data>parse(raw);
		if (!data) {
			return undefined;
		}
		const { resource, inputResource } = data;
		if (!data || !URI.isUri(resource) || !URI.isUri(inputResource)) {
			return undefined;
		}

		const input = InteractiveEditorInput.create(instantiationService, resource, inputResource);
		input.restoreSerialization(data.data);
		return input;
	}