Any objects, strings, exceptions, errors, or number
Optionaldecimal?: number2, allows to choose the number of decimal to display in the string representation
OptionalnoBin?: booleanfalse, when set skip binary encoding and write inplace a bin-length information
Optionalrecursion?: number2, recursion depth to stringify recursively every object value until this depth,
beware if a value refers to a already parsed value an infinite loop will occur
Optionalspace?: string'', allows to configure space in the string representation
the final string representation
Converts various data types, such as objects, strings, exceptions, errors, or numbers, into a string representation. Since it offers a more comprehensive format, this function is preferred to
JSON.stringify().