JSONEncodable

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