JSONEncodable

export declare interface JSONEncodable<T>
export declare interface JSONEncodable<T>
Represents an object capable of representing itself as a JSON object
NameConstraintsOptionalDefaultDescription
TNoThe JSON type corresponding to toJSON outputs.
toJSON():T
Transforms this object to its JSON format