src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.ts/parseSavedSearchEditor
export const parseSavedSearchEditor = async (accessor: ServicesAccessor, resource: URI) => {
	const textFileService = accessor.get(ITextFileService);

	const text = (await textFileService.read(resource)).value;
	return parseSerializedSearchEditor(text);
};