This project has moved and is read-only. For the latest updates, please go here.

How to use JSON.NET, simple?

Mar 19, 2009 at 8:09 PM
I have a page that presents the following issue:
System.Web.HttpException: Request is not available in this context

On this line:
Line 31: String strJson = JavaScriptConvert.SerializeObject(test);
What's this error?

I use JOSN.Net only encode and decode data in JSON.


Mar 22, 2009 at 10:09 PM
You are probably gonna have to paste more of your code then that to really help us.

But if I could take a shot in the dark, I bet it is something with threading.  Where is this getting called?  An event handler?