stringifyJson
stringifyJson(
value,replacer?,space?):string
Defined in: packages/common/src/json.ts:39
Convert a JavaScript value to a JSON string with bigint support.
Parameters
Section titled “Parameters”unknown
A JavaScript value, usually an object or array, to be converted.
replacer?
Section titled “replacer?”(this, key, value) => unknown
A function that transforms the results.
space?
Section titled “space?”Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
string | number
Returns
Section titled “Returns”string