Lines Matching full:stringify
19 This file creates a global JSON object containing two methods: stringify
22 JSON.stringify(value, replacer, space)
77 JSON.stringify(undefined) returns undefined.
89 text = JSON.stringify(['e', {pluribus: 'unum'}]);
93 text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
96 text = JSON.stringify([new Date()], function (key, value) {
154 lastIndex, length, parse, prototype, push, replace, slice, stringify,
295 // The value is an array. Stringify every element. Use null as a placeholder
353 // If the JSON object does not yet have a stringify method, give it one.
355 if (typeof JSON.stringify !== 'function') {
356 JSON.stringify = function (value, replacer, space) {
358 // The stringify method takes a value and an optional replacer, and an optional
389 throw new Error('JSON.stringify');