Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 630 Bytes

File metadata and controls

16 lines (10 loc) · 630 Bytes

json-stringify

Description

Modified JSON stringify function. Converts a JavaScript value to a JavaScript Object Notation (JSON) string.

param any value A JavaScript value, usually an object or array, to be converted. param (this: any, key: string, value: any) => any replacer A function that transforms the results. param string | number space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.

returns string JavaScript Object Notation (JSON) string.

Credits

These scripts were written by JaylyMC