JSON.stringify(value, replacer, space)value any JavaScript value, usually an object or array.replacer an optional parameter that determines how objectvalues are stringified for objects. It can be afunction or an array of strings.space an optional parameter that specifies the indentationof nested structures. If it is omitted, the text willbe packed without extra whitespace. If it is a number,it will specify the number of spaces to indent at eachlevel. If it is a string (such as "\t" or " "),it contains the characters used to indent at each level.