@samatawy/diagrams
    Preparing search index...

    Interface Serializable

    The Serializable interface defines the contract for objects that can be serialized and deserialized using an ISerializer. It requires implementing a write method that converts the object to a serializable format, and a read method that reconstructs the object from its serialized representation.

    interface Serializable {
        write(serializer: ISerializer): any;
        read(json: any, serializer: ISerializer): Promise<Serializable>;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Methods