hii i am trying to convert a javascript object to JSON string . are there any alternative apart from JSON.stringify() ?? cause the method is giving error in IE 7 .... its works perfect in IE8 onwards and other browsers . so just wanna know are there any ways to convert a javascript object such as :
var Schedules = new Object();
Schedules.ProjectTypeID = "abc";
Schedules.ProjectID = "123";
Schedules.ScheduleID = "12345";
Schedules.MilestoneID = "milestone1";
and it should give a json string something like
{"ProjectTypeID":"abc","ProjectID":"123","ScheduleID":"12345","MilestoneID":"milestone1"}