Converting an array to JSON and passing that to asmx
- by user96403
Hi.
I am trying to use JSON.stringify() (from json2.js of json[dot]org ) to convert a JavaScript array to JSON string and to pass it to an asmx web method. I use jQuery AJAX.
The call reaches the web method where I take a List <Object> as parameter but I get an empty list there in debug mode.
My JSON string looks like well formed with all data , I even tried having single-quotes and double-quotes(escaped) around the 'names' of the JSON string. Please help.