Static
Readonly
DEFAULTStatic
Readonly
PLAINA ColorJSON instance that does not colorize anything.
Protected
escapeEscapes a string for JSON.
The string to escape.
Protected
shouldTransforms a value into a chat-friendly, colored JSON representation.
The value to transform.
Protected
stringifyTransforms an array into a JSON representation.
The array to transform.
Protected
stringifyTransforms a boolean into a JSON representation.
The boolean to transform.
Protected
stringifyReturns a cycle JSON representation.
Protected
stringifyTransforms a function into a JSON representation.
The function to transform.
Protected
stringifyReturns a null JSON representation.
Protected
stringifyTransforms a number into a JSON representation.
The number to transform.
Protected
stringifyTransforms an object into a JSON representation.
The object to transform.
Class Name of the object.
Entries of the object to transform.
Protected
stringifyTransforms a string into a JSON representation.
The string to transform.
Protected
stringifyTransforms an object into a truncated JSON representation.
The object to transform.
Class Name of the object.
Protected
stringifyReturns an undefined JSON representation.
Protected
stringifyTransforms a value of any type into a JSON representation. This function is not meant to be overridden.
The value to transform.
The default ColorJSON instance