JSONEncodable

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