Lines Matching defs: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,
356 // If the JSON object does not yet have a stringify method, give it one.
358 if (typeof JSON.stringify !== 'function') {
359 JSON.stringify = function (value, replacer, space) {
361 // The stringify method takes a value and an optional replacer, and an optional
392 throw new Error('JSON.stringify');