using System.Web.Script.Serialization;
Dictionary<string, string> name = new Dictionary<string, string>();
name.Add("1", "GKSamy");
name.Add("2", "Rakshitta");
string myJsonString = (new JavaScriptSerializer()).Serialize(name);
Dictionary<string, string> name = new Dictionary<string, string>();
name.Add("1", "GKSamy");
name.Add("2", "Rakshitta");
string myJsonString = (new JavaScriptSerializer()).Serialize(name);