Static Readonly DEFAULTProtected escapeProtected shouldProtected stringifyTransforms an array into a JSON representation.
The array to transform.
Optional indentLevel: numberThe indentation level for pretty-printing.
Optional knownElements: Set<any>Known elements, for cycle detection.
Protected stringifyProtected stringifyProtected stringifyProtected stringifyProtected stringifyProtected stringifyTransforms an object into a JSON representation.
The object to transform.
Class Name of the object.
Entries of the object to transform.
The indentation level for pretty-printing.
Known elements, for cycle detection.
Protected stringifyProtected stringifyTransforms an object into a truncated JSON representation.
The object to transform.
Class Name of the object.
The indentation level for pretty-printing.
Known elements, for cycle detection.
Protected stringifyProtected 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.
Optional knownElements: Set<any>Known elements, for cycle detection.
Escapes a string for JSON.