My Services Returns a Json string, which is stored in Database and later retrieved via a Scheduled Task as a "Command Argument".
string[] args = Environment.GetCommandLineArgs();
And the Result is something like below...
args[0] = {Name:Khan, Address: Ny} // no longer a valid json object
As you can see it does not have any qoutes around property names, so I cant really serialize/deserialize it into a c# object. so how do I convert that string to something like below
{"Name":"Khan", "Address": "Ny"}
Javascript has Stringify method, how about to get this done in c#?