Here I\'m creating a JavaScript object and converting it to a JSON string, but JSON.stringify returns \"[object Object]\" in this case, instead of
JSON.stringify
\"[object Object]\"
Use alert(JSON.stringify(theObject));
alert(JSON.stringify(theObject));