Absolute Thoughts....

  Home  |   Contact  |   Syndication    |   Login
  9 Posts | 0 Stories | 12 Comments | 0 Trackbacks

News

Archives

Post Categories

Image Galleries

Below is how we can build a complex JSON in javascript and pass it to ASHX file.


$.toJSON(jsonData) looks like as below

[{"Name":"Pavan Kumar Pabothu","Age":27,"ID":361621},{"Name":"Reddaiah Raju Padhmaraju","Age":27,"ID":362541},{"Name":"Denish Raju Padhmaraju","Age":26,"ID":368941}]

Below is how you can read the object in ASHX page.


 

posted on Saturday, May 21, 2011 12:33 AM

Feedback

# re: Passing a complex JSON object to ASHX and Reading it in ASHX 3/15/2013 12:34 AM Grant Unwin
You haven't provided te definition for $.toJSON
The $ makes me think this is jQuery but it's not.

Post A Comment
Title:
Name:
Email:
Comment:
Verification: