/
docs
/
packages
/
util
/
main
/
JSONEncodable%3AInterface
Search...
K
util
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Functions
calculateShardId
getUserAgentAppendix
isEquatable
isJSONEncodable
lazy
polyfillDispose
range
shouldUseGlobalFetchAndWebSocket
Interfaces
Equatable
JSONEncodable
RangeOptions
Types
Awaitable
Variables
version
JSONEncodable
export interface
JSONEncodable
<
Value
>
export interface
JSONEncodable
<
Value
>
Summary
Represents an object capable of representing itself as a JSON object
Type Parameters
Name
Constraints
Optional
Default
Description
Value
No
The JSON type corresponding to
toJSON
outputs.
Methods
toJSON()
:
Value
Transforms this object to its JSON format