Send JSON data to ASP.NET HTTP Handler
Do you send the data from jquery as a POST or GET request? In your Http Handler you can retrieve the values through the HttpContext.Request
either via Forms
or QueryString
ie. string json = HttpContext.Current.Request.Forms["json"];
To deserialize you can use the built in System.Web.Script.Serialization.JavaScriptSerializer
class like this
string json = HttpContext.Current.Request.Forms["json"];var js = new JavaScriptSerializer();YourType obj = js.Deserialize<YourType>(json);