public string GetJson(object o) { JavaScriptSerializer json = new JavaScriptSerializer(); return json.Serialize(o); }