views:

3675

answers:

3

Hi,

I am trying to find a library to parse JSON on C# on Windows Mobile (working with Visual Studio 2005). The libraries that I have found that allow me to parse JSON in C# (litjson and Jayrock) don't work on Windows Mobile, they require classes that are not present in the .NET compact framework. Is there any library that I have overlooked? Or is there another easy way to parse JSON given these circumstances?

Thanks, La-Z

A: 

Have you looked at what the "missing" classes actually have to do for the existing libraries? If they're reasonably simple to implement yourself, that would be my first suggestion - then contribute the results back to those projects.

Jon Skeet
+1  A: 

look here- several C# json libraries to pick from. also, "manually" parsing JSON from string is not all that difficult.

Amir Arad
+1  A: 

Json.NET supports the .NET 3.5 compact framework.

James Newton-King