interface JSONEncodable

external
interface JSONEncodable<Value>

Represents an object capable of representing itself as a JSON object

Constructors

constructor()

Type Parameters

Value

The JSON type corresponding to toJSON outputs.

external
toJSON() : Value

Transforms this object to its JSON format