JSONEncodable
export interface JSONEncodable<T>
export interface JSONEncodable<T>
Represents an object capable of representing itself as a JSON object
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
T | No | The JSON type corresponding to toJSON outputs. |
toJSON
:
() => T
Transforms this object to its JSON format