SyntaxFix
Write A Post
Hire A Developer
Questions
var objToJson = { }; objToJson.response = response; response.write(JSON.stringify(objToJson));
If you alert(JSON.stringify(objToJson)) you will get {"response":"value"}
alert(JSON.stringify(objToJson))
{"response":"value"}