interface JSONEncodable

external
interface JSONEncodable<Value>

Represents an object capable of representing itself as a JSON object

Type Parameters

Value

The JSON type corresponding to toJSON outputs.

external
toJSON() : Value

Transforms this object to its JSON format