@openfloor/protocol - v0.0.4
    Preparing search index...

    Interface JsonSerializable

    Interface for objects that can be serialized to JSON

    interface JsonSerializable {
        toJSON(): string;
        toObject(): Record<string, unknown>;
    }

    Implemented by

    Index

    Methods

    • Convert to JSON string

      Returns string

    • Convert to plain object

      Returns Record<string, unknown>