Lines Matching full:space
14 JSON.stringify(value, replacer, space)
21 space an optional parameter that specifies the indentation
71 The optional space parameter produces a stringification of the
75 If the space parameter is a non-empty string, then that string will
76 be used for indentation. If the space parameter is a number, then
352 JSON.stringify = function (value, replacer, space) {
355 // space parameter, and returns a JSON text. The replacer can be a function
357 // A default replacer method can be provided. Use of the space parameter can
364 // If the space parameter is a number, make an indent string containing that
367 if (typeof space === 'number') {
368 for (i = 0; i < space; i += 1) {
372 // If the space parameter is a string, it will be used as the indent string.
374 } else if (typeof space === 'string') {
375 indent = space;