Static
Readonly
DEFAULTProtected
escapeThe string to escape.
Protected
shouldOptional
indentLevel: numberTransforms 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.
Optional
indentLevel: numberThe indentation level for pretty-printing.
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.
Optional
indentLevel: numberThe indentation level for pretty-printing.
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.
Optional
indentLevel: numberThe indentation level for pretty-printing.
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.
Optional
indentLevel: numberThe indentation level for pretty-printing.
Escapes a string for JSON.