cbor2
    Preparing search index...

    Interface ToJSON

    interface ToJSON {
        toJSON(key?: unknown): string;
    }
    Index

    Methods

    Methods

    • Used by the JSON.stringify method to enable the transformation of an object's data for JavaScript Object Notation (JSON) serialization.

      Parameters

      • Optionalkey: unknown

      Returns string