XMLHttpRequest - JSON - .NET

Posted by user318194 on Stack Overflow See other posts from Stack Overflow or by user318194
Published on 2010-04-16T04:56:44Z Indexed on 2010/04/16 5:03 UTC
Read the original article Hit count: 298

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.

© Stack Overflow or respective owner

Related posts about firefox-addon

Related posts about JSON