Lines Matching refs:replacer
18 JSON.stringify(value, replacer, space)
21 replacer an optional parameter that determines how object
58 You can provide an optional replacer method. It will be passed the
64 If the replacer parameter is an array of strings, then it will be
66 such that only members with keys listed in the replacer array are
72 a replacer function to replace those with JSON values.
241 // If we were called with a replacer function, then call the replacer to
315 // If the replacer is an array, use it to select the members to be stringified.
356 JSON.stringify = function (value, replacer, space) {
358 // The stringify method takes a value and an optional replacer, and an optional
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
382 // If there is a replacer, it must be a function or an array.
385 rep = replacer;
386 if (replacer && typeof replacer !== 'function' &&
387 (typeof replacer !== 'object' ||
388 typeof replacer.length !== 'number')) {