Lines Matching defs:replacer
22 JSON.stringify(value, replacer, space)
25 replacer an optional parameter that determines how object
62 You can provide an optional replacer method. It will be passed the
68 If the replacer parameter is an array of strings, then it will be
70 such that only members with keys listed in the replacer array are
76 a replacer function to replace those with JSON values.
247 // If we were called with a replacer function, then call the replacer to
316 // If the replacer is an array, use it to select the members to be stringified.
359 JSON.stringify = function (value, replacer, space) {
361 // The stringify method takes a value and an optional replacer, and an optional
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
385 // If there is a replacer, it must be a function or an array.
388 rep = replacer;
389 if (replacer && typeof replacer !== 'function' &&
390 (typeof replacer !== 'object' ||
391 typeof replacer.length !== 'number')) {