Theia API Documentation v1.65.0
    Preparing search index...

    The notebook serializer enables the editor to open notebook files.

    At its core the editor only knows a notebook data structure but not how that data structure is written to a file, nor how it is read from a file. The notebook serializer bridges this gap by deserializing bytes into notebook data and vice versa.

    interface NotebookSerializer {
        deserializeNotebook(
            content: Uint8Array,
            token: CancellationToken,
        ): NotebookData | Thenable<NotebookData>;
        serializeNotebook(
            data: NotebookData,
            token: CancellationToken,
        ): Uint8Array | Thenable<Uint8Array>;
    }
    Index

    Methods