Represents an object capable of representing itself as a JSON object

interface JSONEncodable<Value> {
    toJSON(): Value;
}

Type Parameters

Methods

Methods

  • Transforms this object to its JSON format

    Returns Value