Search...

JSONEncodable

export interface JSONEncodable<T> 
export 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