XMLHttpRequest - JSON - .NET
- by user318194
I am trying to send JSON from my mozilla addon to my asp.net page.
var myJSONObject = {"userName": una,"password": pass};
request = new XMLHttpRequest();
request.open("GET",http://www.google.com/jo=" + myJSONObject,true, null, null);
on my .net page I have tried several ways of doing it but not able to find the best way to serialize and deserialize the code.
All I need is to send the json data back n forth and parse it on C# n javascript.
I am new to all this so any guidance and/or change in direction is appreciated.