Home | History | Annotate | Download | only in hosted

Lines Matching full: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
356 JSON.stringify = function (value, replacer, space) {
359 // space parameter, and returns a JSON text. The replacer can be a function
361 // A default replacer method can be provided. Use of the space parameter can
368 // If the space parameter is a number, make an indent string containing that
371 if (typeof space === 'number') {
372 for (i = 0; i < space; i += 1) {
376 // If the space parameter is a string, it will be used as the indent string.
378 } else if (typeof space === 'string') {
379 indent = space;