Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An attempt has been made to invoke JSON.stringify with an argument that is not valid. The replacer argument must be a function or an array.
To correct this error
- Change the
replacerargument to a function or an array.
Example
The code in this example causes a runtime error because memberfilter is an object instead of a function or array.
var contact = new Object();
contact.firstname = "Jesper";
contact.surname = "Aaberg";
contact.phone = ["555-0100", "555-0120"];
var memberfilter = new Object();
// This line will cause a runtime error.
var jsontext = JSON.stringify(contact, memberfilter, "\t");