Static ReadonlyDEFAULTProtectedescapeThe string to escape.
ProtectedshouldOptionalindentLevel: numberTransforms a value into a chat-friendly, colored JSON representation.
The value to transform.
ProtectedstringifyTransforms an array into a JSON representation.
The array to transform.
OptionalindentLevel: numberThe indentation level for pretty-printing.
ProtectedstringifyTransforms a boolean into a JSON representation.
The boolean to transform.
ProtectedstringifyReturns a cycle JSON representation.
ProtectedstringifyTransforms a function into a JSON representation.
The function to transform.
ProtectedstringifyReturns a null JSON representation.
ProtectedstringifyTransforms a number into a JSON representation.
The number to transform.
ProtectedstringifyTransforms an object into a JSON representation.
The object to transform.
Class Name of the object.
Entries of the object to transform.
OptionalindentLevel: numberThe indentation level for pretty-printing.
ProtectedstringifyTransforms a string into a JSON representation.
The string to transform.
ProtectedstringifyTransforms an object into a truncated JSON representation.
The object to transform.
Class Name of the object.
OptionalindentLevel: numberThe indentation level for pretty-printing.
ProtectedstringifyReturns an undefined JSON representation.
ProtectedstringifyTransforms a value of any type into a JSON representation. This function is not meant to be overridden.
The value to transform.
OptionalindentLevel: numberThe indentation level for pretty-printing.
Escapes a string for JSON.