Lines Matching defs:space
22 JSON.stringify(value, replacer, space)
29 space an optional parameter that specifies the indentation
79 The optional space parameter produces a stringification of the
83 If the space parameter is a non-empty string, then that string will
84 be used for indentation. If the space parameter is a number, then
359 JSON.stringify = function (value, replacer, space) {
362 // space parameter, and returns a JSON text. The replacer can be a function
364 // A default replacer method can be provided. Use of the space parameter can
371 // If the space parameter is a number, make an indent string containing that
374 if (typeof space === 'number') {
375 for (i = 0; i < space; i += 1) {
379 // If the space parameter is a string, it will be used as the indent string.
381 } else if (typeof space === 'string') {
382 indent = space;